Re: Parallelling system_exec
Juergen Luethje wrote:
> Why not use system()? It also calls the child processes asynchronously,
> or am I missing something? The following code works fine on my system
> (Windows 98):
>
> <font color="#330033"></font>
> <font color="#FF00FF">system</font><font color="#330033">(</font><font
> color="#00A033">"explorer.exe."</font><font color="#330033">, 2)</font>
> <font color="#FF00FF">system</font><font color="#330033">(</font><font
> color="#00A033">"calc.exe."</font><font color="#330033">, 2)</font>
> <font color="#FF00FF">system</font><font color="#330033">(</font><font
> color="#00A033">"notepad.exe."</font><font color="#330033">, 2)</font>
> <font color="#FF00FF">system</font><font color="#330033">(</font><font
> color="#00A033">"charmap.exe."</font><font color="#330033">, 2)</font>
> <font color="#330033"></font>
>
system() does not work asynchronously, at least on my system (with the Windows
interpreter -- maybe under DOS?).
e.g.
system("notepad.exe",2)
? 99 -- code not executed until notepad.exe is terminated
|
Not Categorized, Please Help
|
|