Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: System Function...script does not move until process ends.

by mobiGeek (Beadle)
on Apr 06, 2005 at 18:44 UTC ( [id://445399]=note: print w/replies, xml ) Need Help??


in reply to System Function...script does not move until process ends.

As others have pointed out, the problem is in your use of system().

I believe, though I don't have time to confirm, that you could do the following:

system("cmd /c start dbeng9", @engstartargs); # SHOULDN'T HANG NOW
Though, of course, this is a win32-specific solution. The fork() solutions suggested by others would be more cross-platform (though with the hard-coded path names does it really matter?)

BTW: the sqlanywhere newsgroups are always available ;-)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://445399]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (3)
As of 2025-06-20 02:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.