in reply to Any limitations to system() command?

You need to go into a bit more detail than "fail to work". What error message(s) are you getting? Does what gets run fork off any persistent children (i.e. could you possibly be hitting up against either a per-user or machine wide process limit)? Are you running this in a non-shell environment (e.g. from cron or as a CGI)?

See also How (Not) To Ask A Question.

  • Comment on Re: Any limitations to system() command?

Replies are listed 'Best First'.
Re^2: Any limitations to system() command?
by magic_yang (Initiate) on Feb 27, 2006 at 20:11 UTC
    I don't think it forks off any persistent children. I've my main script, it executes a child process, and regains control after the process is done executing. So, there should only one active child process at a time.

    I'm running this in tcsh.

    I don't get any error messages. The script just continues on, but I know there's a problem because the file the system() command was supposed to generate doesn't appear.

    Anyway I can capture the errors? Sorry, I'm way noob. Please be patient with me