Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

RE: change redirection of stopped job



>
> Hi.
>
> I have a question about job control:
> Suppose I have a program running which give me
> alot of output. I stop it with C-z.
> When I do bg the program starts running in background
> again, but I get the output.
> Is there a way (like bg sets the &) to specify redirection
> of bg-jobs without killing them and reinvoking?
>

No (without very deep kernel porgramming). Suspended jobs run in separate
process and you have no way to control what this process does.

-andrej



Messages sorted by: Reverse Date, Date, Thread, Author