zsh-users
 help / color / mirror / code / Atom feed
* redirecting stdio/stderr from a suspended then bged job
@ 1999-03-11 15:54 Michael Barnes
  1999-03-11 16:28 ` Bart Schaefer
  1999-03-12  5:06 ` Geoff Wing
  0 siblings, 2 replies; 3+ messages in thread
From: Michael Barnes @ 1999-03-11 15:54 UTC (permalink / raw)
  To: zsh-users

This has been bugging me for a while.  How can I suspend a job that is
taking longer than I expect and then put it in the background and then
redirect stdio and/or stderr to a file (or /dev/null) ?

example:

wget http://slowserver/bigfile.tgz

1% done and its been 2 minutes

^Z

zsh: 25317 suspended  wget http://slowserver/bigfile.tgz

bg %1 >/dev/null 2>&1

nope does not work that just redirects the output of bg not the job that
was bged.

Any suggestions? (besides using screen).

Michael Barnes


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1999-03-12  5:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-03-11 15:54 redirecting stdio/stderr from a suspended then bged job Michael Barnes
1999-03-11 16:28 ` Bart Schaefer
1999-03-12  5:06 ` Geoff Wing

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).