Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^2: executing a program

by Mercio (Scribe)
on Oct 22, 2004 at 19:19 UTC ( #401643=note: print w/replies, xml ) Need Help??


in reply to Re: executing a program
in thread executing a program

You guys have all been realy realy good help. To asnwer a few questions, I have no clue what a deamon process is and I do have access to the webserver, it's in my room. To answer AcidHawk's question,

  • No, I am not looking for the output in the webpage.
  • The program is a perl script.
  • I could us a form with method post, but i don't know what that would accomplish since i'm not sending data to the perl script and I want the perl script to run even when i close the webpage.
  • I will take a look at Win32::Process and Win32::Spawn and see, but I don't know why I couldn't. I just don't know what they are.
  • Replies are listed 'Best First'.
    Re^3: executing a program
    by AcidHawk (Vicar) on Oct 25, 2004 at 09:38 UTC
      Posting code that you think is not working also helps us find issues quickly..

      Could it be that you need to specify the perl binary before the script.. ie

      exec("C:/Perl/bin/perl.exe myscript.pl");
      -----
      Of all the things I've lost in my life, its my mind I miss the most.

    Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Node Status?
    node history
    Node Type: note [id://401643]
    help
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others making s'mores by the fire in the courtyard of the Monastery: (5)
    As of 2021-04-20 19:55 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      No recent polls found

      Notices?