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

Re: beta21; Bug in execcmd() and job text question



>}  % eval $foo& jobs
>}  [1] 884
>}  [1]  + running    eval sleep 10
>
>In fact, I'd prefer it if the "eval" got stripped off so all that zsh
>prints is `sleep 10'.  After all, "eval" is not a job; the thing that
>was being eval'd is the job.

No, the eval is backgrounded in this case.  If it were `foo="sleep
10&"; eval $foo` then the sleep would be the job.

-zefram




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