[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.
local(myProcess = OS_Process) #myProcess->Open('/bin/ls', Array('.')) Encode_HTML(#myProcess->Read) #myProcess->Close
No examples found
Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.