Re: Lindows programs unexpectantly closing
- From: "Chris F.A. Johnson" <cfajohnson@xxxxxxxxx>
- Date: Fri, 29 Jun 2007 19:34:53 -0400
On 2007-06-29, goarilla wrote:
Chris F.A. Johnson wrote:
On 2007-06-29, sk8r-365 wrote:i agree
Chris F.A. Johnson said:
On 2007-06-29, sk8r-365 wrote:Not always the case from what I've seen. Had a problem with gphoto2
If you use '&' there is little likelihood for output because thatA background process *is* a child of the shell that spawned it, and
shell will not have that app as a child process.
anything it sends to stdout or stderr will appear in that shell.
a while ago - I use a card reader now because of it - and _no_ error
messages appeared *anywhere* I searched to indicate why the application
crashed when trying to access the camera. Plus, on Debian Etch,
gnomesword 2.1.9-1 crashes without any output messages either to console
or .xsession-errors when executed without or without an ampersand.
Then they are not sending anything to stdout or stderr. Putting
them in the background or not will make no difference.
some programs dont even open the necessary file handles to even report
stdout and stderr back to the terminal
check this by cat /proc/process_id/fd/* if they don't have a console or
pseudo console
as file handle then they can't even report back to the term that has
started it
you can however start a process in background with a parent process
that's a subshell like this
( command &)
if you do that then yes it won't report back to the terminal the command
was typed in
Yes it will. If the command sends anything to stdout or stderr it
will appear in the terminal in which the command was typed.
--
Chris F.A. Johnson, author | <http://cfaj.freeshell.org>
Shell Scripting Recipes: | My code in this post, if any,
A Problem-Solution Approach | is released under the
2005, Apress | GNU General Public Licence
.
- References:
- Lindows programs unexpectantly closing
- From: Pete
- Re: Lindows programs unexpectantly closing
- From: beowulf@xxxxxxxxxxxx
- Re: Lindows programs unexpectantly closing
- From: sk8r-365
- Re: Lindows programs unexpectantly closing
- From: Chris F.A. Johnson
- Re: Lindows programs unexpectantly closing
- From: sk8r-365
- Re: Lindows programs unexpectantly closing
- From: Chris F.A. Johnson
- Re: Lindows programs unexpectantly closing
- From: goarilla
- Lindows programs unexpectantly closing
- Prev by Date: Re: Lindows programs unexpectantly closing
- Next by Date: Re: Fedora 7 Network Install Problem
- Previous by thread: Re: Lindows programs unexpectantly closing
- Next by thread: Linux laptop with 2560x1600 graphics
- Index(es):
Relevant Pages
|