Unix BG and Perl/TK

D

Dodge

I'm not sure if this is the right group to ask or not, but here goes.
I've got a perl/TK script that I need to start in the background.
Since I'm running on Unix, I'd typically do this with:
myscript.pl &

In this application though, I have another program that is calling my
script. I don't have permission to modify this other program. Is there
a way that I can do the same thing in my script? I've checked the PERL
FAQs, but apparently don't know what I'm looking for. Thanks in
advance!
 
A

all mail refused

I've got a perl/TK script that I need to start in the background.
Since I'm running on Unix, I'd typically do this with:


In this application though, I have another program that is calling my
script. I don't have permission to modify this other program. Is there
a way that I can do the same thing in my script? I've checked the PERL

Sounds as if you want to get familiar with fork().
 
B

Ben Morrow

Quoth Dodge said:
I'm not sure if this is the right group to ask or not, but here goes.
I've got a perl/TK script that I need to start in the background.
Since I'm running on Unix, I'd typically do this with:


In this application though, I have another program that is calling my
script. I don't have permission to modify this other program. Is there
a way that I can do the same thing in my script? I've checked the PERL
FAQs, but apparently don't know what I'm looking for. Thanks in
advance!

You may want to look at Proc::Daemon.

Ben
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,819
Latest member
masterdaster

Latest Threads

Top