Execute a system command: Difference between revisions
Content added Content deleted
No edit summary |
|||
Line 487: | Line 487: | ||
=={{header|DBL}}== |
=={{header|DBL}}== |
||
<lang DBL>XCALL SPAWN ("ls *.jpg > file.txt") ;execute command and continue |
<lang DBL>XCALL SPAWN ("ls *.jpg > file.txt") ;execute command and continue |
||
XCALL EXEC ("script.sh") |
XCALL EXEC ("script.sh") ;execute script or binary and exit |
||
STOP '@/bin/ls *.jpg > file.txt' |
STOP '@/bin/ls *.jpg > file.txt' ;exit and execute command</lang> |
||
=={{header|Delphi}}== |
=={{header|Delphi}}== |