RE: system_exec()
Juergen Luethje wrote:
>Me too.
>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.
>> 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
Take care for now,
Al
|
Not Categorized, Please Help
|
|