Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Re: Starting a new process (fork?)

by DarkBlue (Sexton)
on Apr 17, 2001 at 16:48 UTC ( [id://73114]=note: print w/replies, xml ) Need Help??


in reply to Re: Starting a new process (fork?)
in thread Starting a new process (fork?)

Well, I'll try all suggestions until I find a solution that works. However, system("dyana >/dev/null 2>&1 &"); will not work I suspect - because this script is running on an NT box... so /dev/null doesn't exist.

Is there an NT equivalent?

 

In theory, there is no difference between theory and practise.  But in practise, there is.
 
Jonathan M. Hollin
Digital-Word.com

Replies are listed 'Best First'.
Re: Re: Re: Starting a new process (fork?)
by Zoogie (Curate) on Apr 17, 2001 at 17:27 UTC
    NT has the "nul" (yes, three characters) "device":

    echo "I can see ducks." > nul
    Dunno how much that helps... too early in the morning...

    - Zoogie

(tye)Re: Starting a new process (fork?)
by tye (Sage) on Apr 17, 2001 at 18:55 UTC

    As Zoogie points out, you can use "nul" (or even "/dev/nul"). In NT, you can use ">nul" and "2>&1", but you can't use "&".

    But you can do any of these:

    system(1,"dyana >nul 2>&1"); system("start dyana"); # something with Win32::Process

            - tye (but my friends call me "Tye")

Log In?
Username:
Password:

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

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

    No recent polls found