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

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")