External Processes

Discussion in 'Perl' started by Darren Smith, Oct 12, 2004.

  1. Darren Smith

    Darren Smith Guest

    I use the system() function to call an external program. How can I limit
    the amount of time it runs or the amount of space it occupies? Also how
    would I get error information returned to me?

    Thanks,
    Darren.
    Darren Smith, Oct 12, 2004
    #1
    1. Advertising

  2. Darren Smith wrote:
    > I use the system() function to call an external program. How can I
    > limit the amount of time it runs or the amount of space it occupies?


    That is a function of you operating system, see e.g. "man ulimit".

    > Also how would I get error information returned to me?


    See the perldoc page for system(), third paragraph.

    jue
    Jürgen Exner, Oct 12, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. John English
    Replies:
    6
    Views:
    456
    John English
    Oct 27, 2005
  2. Jeff Rodriguez
    Replies:
    23
    Views:
    1,116
    David Schwartz
    Dec 9, 2003
  3. external processes

    , Feb 21, 2007, in forum: Java
    Replies:
    2
    Views:
    287
  4. Replies:
    4
    Views:
    737
  5. Marc Heiler
    Replies:
    1
    Views:
    173
    Robert Klemme
    May 24, 2009
Loading...

Share This Page