Shell integration
Last updated
Was this helpful?
Was this helpful?
runCommand( 'echo "Greetings planet"' );runCommand( 'echo "#getInstance( 'parser' ).escapeArg( untrustedVariable )#"' );// Run echo and capture its output
var result = runCommand( command='echo hello', returnOutput=true );
// Force it to echo in green text
print.green( result ).toConsole();