in reply to system'ing a gui app

Your code works fine when I run it on Win2K. Which OS are you using? One thing you could try is
system("start $cmd");

Replies are listed 'Best First'.
Re: Re: system'ing a gui app
by xafwodahs (Scribe) on Nov 01, 2002 at 16:06 UTC
    I'm using Win2K. Adding the 'start' seems to work.
    Did it work on your machine without the 'start' ???
    What does 'start' actually do? I've never seen that before.
      The Windows' "start" command is simply a launcher that can be used from a command prompt to start windowed programs in various ways. You can also use "start" on registered file types directly (ie, "start MyPaper.doc") and it will act like you double-clicked on that file in an Explorer view. It's pretty nifty sometimes.

      kelan


      Perl6 Grammar Student