Help for this page

Select Code to Download


  1. or download this
    # As above, but NEVER invokes the shell.
    my $output = capturex("some_command", @args);
    
  2. or download this
    # capturex() is just like backticks/qx, but never invokes the shell.
     
    ...
            if (WINDOWS) {
                return _win32_capture(NO_SHELL, $valid_returns, $command, 
    +@args);
            }
    
  3. or download this
    # capture is our way of running a process with backticks/qx semantics
     
    ...
                # USE_SHELL really means "You may use the shell if you nee
    +d it."
                return _win32_capture(USE_SHELL, $valid_returns, $command)
    +;
            }