Skip to main content

LensStudio:Subprocess.spawn

Function

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 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

ParameterType
commandstring
argsstring[]
optionsSpawnOptions

Returns

Subprocess