Instantly share code, notes, and snippets.

Embed
What would you like to do?
JRunscript Execute System Command
//Windows
jrunscript -e "exec('cmd.exe /c dir')"
//Linux & macOS
jrunscript -e "exec('/bin/bash –c ls')"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment