Perl 'system' Creates Program That Dies When First C Program Dies

  • Thread starter Christopher M. Lusardi
  • Start date
C

Christopher M. Lusardi

Hello,

What are some simple ways to run a perl script from an initial c program
which starts another C program that stays around after the first program goes
away? Perl starts the second C program.

I've tried using "system ('executable'), but when the first program is
stopped the second stops without my intervention. What I want to be able to do
is run my first program that starts the perl script which starts another
program that stays around after the first program ends its execution.


Thank you,
Christopher Lusardi
 
B

Bob Walton

Christopher said:
Hello,

What are some simple ways to run a perl script from an initial c program
which starts another C program that stays around after the first program goes
away? Perl starts the second C program.

I've tried using "system ('executable'), but when the first program is
stopped the second stops without my intervention. What I want to be able to do
is run my first program that starts the perl script which starts another
program that stays around after the first program ends its execution.


Thank you,
Christopher Lusardi

Your question isn't really a Perl question, but rather an OS question --
the answer will be the same if it were another language that is kicking
off your executables -- hence it is off-topic here. And the answer will
depend on your OS. What is it?
 
C

Christopher M. Lusardi

My operating system is Red Hat Linux.



Bob Walton said:
Your question isn't really a Perl question, but rather an OS question --
the answer will be the same if it were another language that is kicking
off your executables -- hence it is off-topic here. And the answer will
depend on your OS. What is it?
 

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,769
Messages
2,569,581
Members
45,056
Latest member
GlycogenSupporthealth

Latest Threads

Top