LensStudio:Subprocess.spawn
Functionthe options parameter can take cwd and timeout, meaning the current working directory to launch the program in, as well as the milliseconds to wait for a syn…
spawn(
command,args,options):Subprocess
the options parameter can take cwd and timeout, meaning the current working directory to launch the program in, as well as the milliseconds to wait for a synchronously spawned subprocess to finish. By default, cwd is set to the current directory of the Lens Studio application, and timeout is set to 30000.
Parameters
| Parameter | Type |
|---|---|
command | string |
args | string[] |
options | SpawnOptions |