Skip to content

enable method to specify arguments, environment variables, cwd for script to run #1

Description

@dschaffe

There should be a way to specify additional information for how the script should run. I thought comments in the script could be parsed to specify additional information.

e.g.
#!/usr/bin/env python

specify arguments in JSON

brackets-scriptexec.arguments=[one','two','three']

specify enviroment variables in JSON

brackets-scriptexec.enviroment={var1: 'value1', var2: 'value2'}

specify a directory to start in:

brackets-scriptexec.cwd=/Users/dschaffe/starting_directory

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions