Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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 making s'mores by the fire in the courtyard of the Monastery: (7)
As of 2024-04-19 10:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found