Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^3: Multiple system commands in parallel

by Anonymous Monk
on May 10, 2016 at 20:41 UTC ( [id://1162662]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Multiple system commands in parallel
in thread Multiple system commands in parallel


Windows 7

Im just trying to have it basically spawn a separate process in the background. defiantly dont need a separate command window that it opens in. I even tried 'start /B'. but even that gets killed if the parent is <ctrl><c> out of.
  • Comment on Re^3: Multiple system commands in parallel

Replies are listed 'Best First'.
Re^4: Multiple system commands in parallel
by BrowserUk (Patriarch) on May 10, 2016 at 21:43 UTC
    defiantly dont need a separate command window that it opens in.

    May be you don't need it but, if you use /min, it is completely unobtrusive and will disappear when the process does.

    If you really need to avoid the window, then you'll have to work out how to use Win32::Process and the appropriate combination of these flags:

    CREATE_DEFAULT_ERROR_MODE CREATE_NEW_CONSOLE CREATE_NEW_PROCESS_GROUP CREATE_NO_WINDOW CREATE_SEPARATE_WOW_VDM CREATE_SUSPENDED CREATE_UNICODE_ENVIRONMENT DEBUG_ONLY_THIS_PROCESS DEBUG_PROCESS DETACHED_PROCESS

    Or I could show you...but nah.


    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority". I knew I was on the right track :)
    In the absence of evidence, opinion is indistinguishable from prejudice.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2024-04-25 06:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found