in reply to backticks, system not returning back control to script

system and qx are supposed to return to the script as soon as the external program quits. If it keeps on running, you have to launch it in the background, or maybe fork and exec (depending on he operating system, which you sadly did not tell us).

Perl 6 - links to (nearly) everything that is Perl 6.
  • Comment on Re: backticks, system not returning back control to script

Replies are listed 'Best First'.
Re^2: backticks, system not returning back control to script
by satish.rpr (Novice) on Oct 28, 2009 at 10:48 UTC
    No, the program does not run continuously, when it it launched using the command line, it launches and returns a string (some address). I am capturing the returned value in the script. When I use the same function in another perl script, it is working fine.. . I am running the script in linux.
      So it's a problem specific to a script you don't show us. If you want us to help you, provide a (minimized) version of your scripts.
      Perl 6 - links to (nearly) everything that is Perl 6.