The options of "LensStudio:Subprocess".spawn or "LensStudio:Subprocess".spawnSync. env, can be specified as a {PATH: myPath, PWD: myPwd} or a JS object. The PATH and PWD fields will override the default value in your environment has when the subprocess is spawned. You can access the default environment variables from "LensStudio:App", where its a constant value that you can retrieve just like .version, using .env.
// SpawnOptions configures how a subprocess is launched. // Properties: // cwd – Editor.Path – working directory for the spawned process // env – any – environment variables passed to the process // timeout – number – milliseconds to wait (spawnSync); default 30000
The options of "LensStudio:Subprocess".spawn or "LensStudio:Subprocess".spawnSync.
env, can be specified as a{PATH: myPath, PWD: myPwd}or a JS object. The PATH and PWD fields will override the default value in your environment has when the subprocess is spawned. You can access the default environment variables from "LensStudio:App", where its a constant value that you can retrieve just like.version, using.env.Example