RosettaCodeData/Task/Execute-a-system-command/C-Shell/execute-a-system-command-1.csh

3 lines
82 B
Tcsh

ls # run command, return to shell
exec ls # replace shell with command