backgrounding a running wget job

Gregory Nowak greg at romuald.net.eu.org
Tue Jul 4 15:15:35 EDT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Thanks for the info. I didn't want to suspend the wget job with
ctrl+z, since I didn't know what that would do to the download. Yes,
the wget process would be suspended, and it would pick up right where
it left off. What about the tcp connection to the other system, that
would be reset as soon as wget got suspended and stopped responding,
wouldn't it? Yes, I know, in that case, wget would simply retry the
connection upon resuming, but still ...

Also, yes, wget was in fact outputting continuously, which is another
reason why I wanted to attach it to a screen session, in addition to
bringing it back into the foreground when I chose. Also thanks for the
introduction to the disown command, didn't know that existed.

Anyway, like I said, I bit the bullet, and have things working like I
want them now.

Greg


On Tue, Jul 04, 2006 at 12:19:38PM +0300, Ari Moisio wrote:
> Hi!
> 
>   In theory this could be possible: you have to change wget's process group 
> id to same as one of your screened shells. Unfortunately i do not know any 
> tool to do this.
> 
>   If you use bash you can put wget background witht
>   ^Z, bg  wget
> and  detach it from current shell with
> disown wget
> 
>   but if the wget is outputting continuously this may now work. There is 
> afaik no way to get process bakc to foreground.
> 
> 
> -- 
> arimo
> 

- -- 
web site: http://www.romuald.net.eu.org
gpg public key: http://www.romuald.net.eu.org/pubkey.asc
skype: gregn1
(authorization required, add me to your contacts list first)

- --
Free domains: http://www.eu.org/ or mail dns-manager at EU.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)

iD8DBQFEqr5X7s9z/XlyUyARAo5fAKCBBLRSlMVPvdWofhTaWF5Izb4LkQCfSEH7
XhnZF/zNnVBrJV//TCetPNw=
=WCDn
-----END PGP SIGNATURE-----




More information about the Speakup mailing list