External Processes

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Darren Smith

    External Processes

    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.


  • Jürgen Exner

    #2
    Re: External Processes

    Darren Smith wrote:[color=blue]
    > 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?[/color]

    That is a function of you operating system, see e.g. "man ulimit".
    [color=blue]
    > Also how would I get error information returned to me?[/color]

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

    jue


    Comment

    Working...