sandeep.ses has asked for the wisdom of the Perl Monks concerning the following question:
whenever i want to view a stucture i call this subroutine. i am able to fork it the first time and view the structure in the application. when i try to view the second time it opens the applications but my perl programs hangs . what i am not able to understand is why is my main program hanging ?? i know for sure my concepts of fork() is wrong . it would be really great if anyone can point me in the rite directionsub{ my $pid = fork(); if ($pid) { `chimera --send test.pdb` } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: problem with forking
by chromatic (Archbishop) on Jul 05, 2004 at 22:05 UTC | |
by sandeep.ses (Acolyte) on Jul 05, 2004 at 22:40 UTC | |
by chime (Friar) on Jul 06, 2004 at 10:39 UTC | |
|
Re: problem with forking
by blue_cowdawg (Monsignor) on Jul 06, 2004 at 15:10 UTC | |
|
Re: problem with forking
by mcogan1966 (Monk) on Jul 06, 2004 at 13:13 UTC | |
|
Re: problem with forking
by pearlie (Sexton) on Jul 07, 2004 at 14:53 UTC |