LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Resume other CPAN process? (https://www.linuxquestions.org/questions/linux-software-2/resume-other-cpan-process-839254/)

zhjim 10-20-2010 07:19 AM

Resume other CPAN process?
 
Hi folks,

while configuring cpan through o conf init inside the cpan shell my SSH connection went down. After reconnecting cpan comes up with this little thing:
Quote:

There seems to be running another CPAN process (pid 30131). Contacting...
Other job is running.
Shall I try to run in downgraded mode? (Y/n) [y]
Now i could just kill the other process but wonder if its possible to just resume the cpan process?

estabroo 10-21-2010 05:30 AM

you'd have to swap out it's controlling tty (which is possible but not easily done). In the future if you run it in screen then all you'd need to do is reattach to the running screen

zhjim 10-26-2010 03:32 PM

Thanks for the reply.

Can you tell how "swap the tty" works? or any links to dig me in?

Cheers Zhjim

estabroo 10-27-2010 05:11 AM

http://etbe.coker.com.au/2008/02/27/...nning-process/

http://pasky.or.cz/~pasky/dev/retty/

There was a third one that had a really good discussion on the topic and even a program similar to retty but I can't seem to find that link (thought I had it bookmarked, if I find it I'll post it here)

zhjim 10-27-2010 06:32 AM

Thank you estabroo.
This'll hopefully get me to understand tty and alike a bit more.


All times are GMT -5. The time now is 03:37 AM.