RosettaCodeData/Task/Execute-a-system-command/DBL/execute-a-system-command.dbl

4 lines
211 B
Plaintext

XCALL SPAWN ("ls *.jpg > file.txt") ;execute command and continue
XCALL EXEC ("script.sh") ;execute script or binary and exit
STOP '@/bin/ls *.jpg > file.txt' ;exit and execute command