Re: How to continue process without waiting for the output of system()?



Thank you all.

Use Narthring's method or xhos's method, there is one problem: BEFORE
the calc closed, the programe won't exit. Just like this:

d:\>perl -e "fork or do {system('calc'); exi
t}; $|=1; print 'hello' "
hello

AFTER calc closed, below appears:
d:\>

By Follow Ben Morrow say, I tried:
d:\>perl -e "fork or do {system('calc'); exi
t}; $|=1; print 'hello' "
hello
d:\>

This time it works just what I wanted.

Thank you all again, and sorry for my poor English:)

.



Relevant Pages

  • Re: {OT} press 2 for english
    ... Let's try the next exit." ... language -- especially when they have to learn English in order to even ... English is a requirement for citizenship. ... an entirely insignificant tangent ... ...
    (alt.autos.toyota)
  • Re: Run a function from "On Click" or "On Exit"
    ... If nothing is visible, try compacting the database: ... The expression "On Exit" you entered as the event property setting ... the following error: Ambiguous name detected: English ... *The expression may not result in the name of a macro, ...
    (comp.databases.ms-access)
  • Re: Bad hair disaster in Hamilton
    ... the mirror and get with the programe. ... is that english or English Craigy? ... It's like shooting fish in a barrel,eh Craigy. ...
    (rec.sport.rugby.union)
  • Re: Bad hair disaster in Hamilton
    ... Hey Shorn I've got some news for you son! ... Wipe the lipstick ... the mirror and get with the programe. ... is that english or English Craigy? ...
    (rec.sport.rugby.union)
  • gcc cant find libqt-mt
    ... Instead of struggle to try to explain in english, let me just show you whats ... collect2: ld returned 1 exit status ...
    (Fedora)