system calls

Posted by Andreas on Fri 28 Nov 2003 04:12 PM — 3 posts, 14,902 views.

#0
Hey,

what i'm trying to do is have a script that reads (audio-wise) some mud output to me using some speech engine.
I do this using a system() call which works pretty well,
except that it is halting the whole system until the audio stuff is done. Since fork() doesnt seem to be supported by Perlscript, I'm looking for another solution that lets me have something like a background process which doesnt stop the whole script.

Any ideas?

Thanks in advance,
Andreas.
Australia Forum Administrator #1
fork() isn't really supported under Windows in the first place, it is a Unix concept.

What I would try to do is have a separate process, and send messages to it.
#2
Thanks for your reply,
I'll try to figure that out ;)

Btw, in Perl under Windows (the current ActiveState one) there's a fork emulation that at least seems to work, but Perlscript doesnt seem to have it.

Thanks again,
best regards,
Andreas.