Run a Shell on the OS with a command
Optional
import { system } from "@rjweb/utils"system.execute('echo hi', { async: false }) // 'hi\n'system.execute('wesgasg', { async: false }) // <throws Error> Copy
import { system } from "@rjweb/utils"system.execute('echo hi', { async: false }) // 'hi\n'system.execute('wesgasg', { async: false }) // <throws Error>
If exit code is not 0
1.3.0
nodejs
Run a Shell on the OS with a command