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. Advertisements

  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. Advertisements

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:
    557
    John English
    Oct 27, 2005
  2. Scott Allen
    Replies:
    8
    Views:
    11,383
    Scott Allen
    May 2, 2004
  3. Jeff Rodriguez
    Replies:
    23
    Views:
    1,519
    David Schwartz
    Dec 9, 2003
  4. external processes

    , Feb 21, 2007, in forum: Java
    Replies:
    2
    Views:
    371
  5. Replies:
    4
    Views:
    818
  6. James Mills

    Thread, external processes, and trap

    James Mills, Sep 11, 2006, in forum: Ruby
    Replies:
    1
    Views:
    328
    Robert Klemme
    Sep 11, 2006
  7. Marc Heiler
    Replies:
    1
    Views:
    363
    Robert Klemme
    May 24, 2009
  8. Mellow Crow
    Replies:
    6
    Views:
    680
    Richard Cornford
    Nov 4, 2005
Loading...