1. Starting Another Process While Another Is Already Running
- Posted by Louis Bryant <l_bryant2004 at yahoo.com>
Feb 23, 2006
-
Last edited Feb 24, 2006
Hello, I'd like to know how to start one process, then have the program run
another process in the background. It seems as though system_exec() and system()
both wait for the process called by them to finish execution before letting your
process resume tasks. Is there a way to call a process and let yours continue
without Win32Lib.ew? Or, does win32lib's ShellExecute functions do just that?
Thanks!
2. Re: Starting Another Process While Another Is Already Running
- Posted by Bernie Ryan <xotron at bluefrog.com>
Feb 23, 2006
-
Last edited Feb 24, 2006
Louis Bryant wrote:
>
>
> Hello, I'd like to know how to start one process, then have the program run
> another process in the background. It seems as though system_exec() and
> system()
> both wait for the process called by them to finish execution before letting
> your process resume tasks. Is there a way to call a process and let yours
> continue
> without Win32Lib.ew? Or, does win32lib's ShellExecute functions do just that?
> Thanks!
Louis:
ShellExecute and ShellExecuteEx are windows functions and can be
used without using Win32Lib if you know how to define and call
"C" functions from Euphoria.
Bernie
My files in archive:
WMOTOR, XMOTOR, W32ENGIN, MIXEDLIB, EU_ENGIN, WIN32ERU, WIN32API
Can be downloaded here:
http://www.rapideuphoria.com/cgi-bin/asearch.exu?dos=on&win=on&lnx=on&gen=on&keywords=bernie+ryan
3. Re: Starting Another Process While Another Is Already Running
Louis Bryant wrote:
> Hello, I'd like to know how to start one process, then have the program run
> another process in the background. It seems as though system_exec() and
> system()
> both wait for the process called by them to finish execution before letting
> your process resume tasks. Is there a way to call a process and let yours
> continue
> without Win32Lib.ew? Or, does win32lib's ShellExecute functions do just that?
> Thanks!
system("start my_prog.exw", 0) should allow both to work independently,
Louis.
Regards,
Bob