Powered by Invision Power Board


  Reply to this topicStart new topicStart Poll

> how to launch an independent process
deepthi
Posted: Mar 10 2005, 01:41 PM
Quote Post


Newbie
*

Group: Members
Posts: 1
Member No.: 852
Joined: 10-March 05



Hello,

I needed a help please...

I have an application which launches process. For this i am using fork and execv method calls. By doing this my launched process are now child process of the parent process(launching process). I dont want this to happen, i want the process that is launched to be an independent process, not a child process. how do i achieve this.

As i know, daemon process are used to run a process at background. For me i just want the launched process to run independently.

Please help me with this problem, as soon as possible.

Thanks and regards,
deepthi

email : deepthi.kallahakkala@lntinfotech.com
kvdeepthi29@rediffmail.com
PMEmail Poster
Top
venkat_venkamolla
Posted: Apr 7 2005, 01:12 PM
Quote Post


User Level: 2
**

Group: Members
Posts: 13
Member No.: 906
Joined: 4-April 05



hi deepti,


This could help you i think.

To run a process independently from another process use command:

nohup processname &



if problem let me know
PMEmail Poster
Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
« Next Oldest | Programming/Languages | Next Newest »

Topic Options Reply to this topicStart new topicStart Poll

 



[ Script Execution time: 0.0648 ]   [ 12 queries used ]   [ GZIP Enabled ]




Partners: Cambridge Plus :: <Link Available> :: PCB Layout, CadStar :: <Link Available>
Unix Man Pages / Linux Man Pages :: HiFi Forum :: SIP VoIP Phone & Provider Reviews :: UNIX/Linux Forum Archives

More info on advertising on Unix/Linux Forum