1. Starting Another Process While Another Is Already Running

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!

new topic     » topic index » view message » categorize

2. 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!

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

new topic     » goto parent     » topic index » view message » categorize

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

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu