34 users online (0 members and 34 guests)  


  Results 1 to 3 of 3

Related

  1. Execute external program in perl/cgi    Forum: CGI Perl Forum
    Replies: 2
  2. Replies: 0
  3. Replies: 0
  4. Execute data according to the weeks entered    Forum: Website Scripts Forum
    Replies: 6
  1. #1
    ALL's Avatar
    Super Dooper Nerd

    Status
    Offline
    Join Date
    Feb 2005
    Location
    localhost
    Posts
    382

    Is there a way to execute an EXE on the server?

    is there a way to start an exe with cgi/perl on the server?

  2. #2
    ALL's Avatar
    Super Dooper Nerd

    Status
    Offline
    Join Date
    Feb 2005
    Location
    localhost
    Posts
    382

    Re: Is there a way to execute an EXE on the server?

    i figured it out, i can use EXEC to do what i want, but one more question, if somone knows the answer... how can i get perl to not wait till it is done to finish the rest of the code?

  3. #3
    QuietDean's Avatar
    Administrator

    Status
    Offline
    Join Date
    Oct 2000
    Location
    Bournemouth, UK
    Posts
    2,662

    Re: Is there a way to execute an EXE on the server?

    try

    Code:
    system "nohup /path/to/process/bin/server.sh >/dev/null 2>&1 &";
    If one of our members helps you, please click the icon to add to their reputation!
    No support via email or private message - use the forums!
    Before you ask, have you Searched?



Tags for this Thread