Skip to content

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

@dschaffe

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions