RE: system_exec()

new topic     » goto parent     » topic index » view thread      » older message » newer message

Juergen Luethje wrote:
>Me too. smile
>However, since I came across this issue, I'd like to know, whether or
>not system() always calls another program asynchronously, and
>system_exc() always does this synchronously. Just because I'd like to
>know as much as possible about "my" programming language. smile

>>  Can you use the win api?  

>Yes. As I mentioned, I have almost finished writing a routine, that
>seems to be something like a self-written system_exec() function.
>It uses the Win Api functions CreateProcess() and 
>WaitForSingleObject().
>But if system_exec() has the same functionality, why use a self-
>written function instead?


Hello again,

Yes that's a good point.  I would use the system_exec function
if it did what i wanted it to do also.

I had some problems with 'system' at one point.  If i remember
right, it was only syncronous if you spec the number '2' as
second parameter.

Havent tried the system_exec function yet,
as i just recently upgraded from Euphoria 2.0 to 2.3 (and then 2.4)
and 2.0 didnt have it smile


Take care for now,
Al

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu