Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

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?

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (7)
As of 2024-05-20 19:44 GMT
Find Nodes?
    Voting Booth?

    No recent polls found