ShellUtil
ShellUtil
class provides utility methods for executing shell commands.
note: to enable this utility you need to go to system -> settings -> b2datacompiler and enable Unsafe utilities
Methods
exec(...command: string[]): Integer
exec(...command: string[]): Integer
Executes a shell command.
@paramcommand
— A string array containing the program and its arguments.
@return — The exit value of the process represented by this Process object. By convention, the value 0 indicates normal termination.
Last updated
Was this helpful?