The commands to execute.
The stdout of the batch script.
Will throw an error if no temporary directory could be found or is provided.
executeBatchScript(['ping google.com'])
returns: {
stdout: [
'Pinging google.com [142.250.74.78] with 32 bytes of data:',
'Reply from 142.250.74.78: bytes=32 time=18ms TTL=55',
'Reply from (...)'
],
stderr: [],
error: undefined,
}
executeBatchScript(['ping google.comm'])
returns: {
stdout: ['Ping request could not find host google.comm. Please check the name and try again.'],
stderr: [],
error: 'Error: Command failed (...)',
}
Generated using TypeDoc
Provide a virtual batch script in the form of a string array that represent the lines of the script.