Re: system_exec()
- Posted by Greg Haberek <ghaberek at gmail.com> Mar 28, 2005
- 567 views
> i found out that system() and system_exec() dont return until the called > program finishes. so > > what can i use instead that will return immediately? non-win32 specific. http://www.ss64.com/ I found this site the other day, its a list of like *every* shell command on Windows NT/XP, Linux BASH, OS X, and Oracle 8i. At least the useful ones, very handy, especially on Windows. You may be looking for this: http://www.ss64.com/bash/exec.html as in: system( "exec command", 2 ) which should return immediately. :) HTH, ~Greg