Long running perl script

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ommz
    New Member
    • Jul 2012
    • 5

    Long running perl script

    I have a perl script on my server that runs for 15seconds and is supposed to display the results on a php file but the php file finishes loading even before the perl script is done. What do i do to keep the php file waiting until the perl script is done?
  • RonB
    Recognized Expert Contributor
    • Jun 2009
    • 589

    #2
    Is your php script executing the perl script, or is the perl script executing the php script?

    Please provide more details on your process and what you're needing to accomplish.

    Comment

    • ommz
      New Member
      • Jul 2012
      • 5

      #3
      I figured it out. Have to use the sleep() function to delay the execution of the php script until the perl script is done executing

      Comment

      Working...