Re: Suspended job with &
Re: Suspended job with &
- Subject: Re: Suspended job with &
- From: Sean Ahern <email@hidden>
- Date: Wed, 9 Jul 2003 10:08:44 -0700
Stefan robert wrote:
> with X11 0.3 beta I get this weird behaviour when I start an
> application from the command line with the "&" at the end.
>
> Instead of starting a separate process for the application (leaving the
> xterm window free for other input) it creates the process and suspends
> it.
>
> [1] + Suspended (tty input) gs
> pupput{robs2102}10:
>
> And I need to do an:
>
> pupput{robs2102}10: fg 1
>
> to get it back running... This is not normal... or is it? Does anyone
> have encountered this problem and has found a work around for this?
Yep, it's normal.
Ghostscript is a program that, if no other flags are given, expects its input
from standard input. It has nothing to do with X11, per se. You will see
this behavior with any other program that reads from stdin. Try "cat &".
Same thing.
If you really don't want to tell "gs" anything, then close off stdin:
"gs < /dev/null &". (However, "gs" then won't have anything to process, so this
probably won't be too useful in this case.)
-Sean
__
email@hidden
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/x11-users
X11 for Mac OS X FAQ: http://developer.apple.com/qa/qa2001/qa1232.html
Report issues, request features, feedback: http://developer.apple.com/bugreporter
Do not post admin requests to the list. They will be ignored.