LassoScript Utility
Basics Browse Detail


Tag Link [OS_Process->Open] Category OS Process
Type Member Source Available Yes
Support Preferred Version 8.5
Change New Data Source Any
Output Type None Security None
Implementation Sets Lasso 8.5


[OS_Process->Open] accepts three parameters which open a native process. These include the required path to the executable to call, an optional array of command line parameters, and an optional array of environment variables to set. Alternately, these same three parameters can be passed directly to the [OS_Process] creator.


Var: 'myProcess' = (OS_Process);
$myProcess->(Open: '/bin/ls', (Array: '.'));
Encode_HTML: $myProcess->Read;


Required Parameters
Executable Path The native file path to the executable to call.
Optional Parameters
Parameter Array An array of command line parameters to pass to the executable.
Environment Variables An array of pairs defining environment variables which should be defined before calling the executable.


See the Lasso 8 Language Guide for examples of how to use this tag.