Non-blocking version of system()

One option is in your system call, do this:

 system("ls -l &");

the & at the end of the command line arguments forks the task you’ve launched.

Leave a Comment