This is the mail archive of the
cygwin-xfree
mailing list for the Cygwin XFree86 project.
Re: startxwin.exe no longer exists?
- From: Erik Soderquist <ErikSoderquist at gmail dot com>
- To: cygwin-xfree at cygwin dot com
- Date: Wed, 17 Dec 2014 13:35:57 -0500
- Subject: Re: startxwin.exe no longer exists?
- Authentication-results: sourceware.org; auth=none
- References: <slrnm8mbmj dot 19r dot varro at anukis dot local> <548C82A3 dot 9080604 at gmail dot com> <slrnm8v7ek dot etn dot varro at anukis dot local> <CACoZoo0=EAEMc3XeXp_VLhFtYTcHuB+M72MC6nGgpvNNtquN5Q at mail dot gmail dot com> <54905E8F dot 40809 at ucsd dot edu> <CACoZoo07+HetoNkknrHUoKYqRL0sRubn98W--FURN0qnXLHDrg at mail dot gmail dot com> <slrnm91e8d dot 15ku dot varro at anukis dot local> <CACoZoo1uEoC=28qEm2j2YBEv1g-DCJy-97muhg6dFLR6VJKFJw at mail dot gmail dot com> <9439619875edc65b1e7152b743ad5553 at saf dot bio dot caltech dot edu> <CACoZoo2_86n2hQ4S8ud-SUMY83p_s1kko5FJgCy6AD8q2rXboA at mail dot gmail dot com> <f0cd88b0d4227baff5793410155de6d1 at saf dot bio dot caltech dot edu>
- Reply-to: cygwin-xfree at cygwin dot com
<snip>
>> So you want your script to completely mask and/or destroy any evidence
>> that something crashed??
>
>
> No, that is the log file, this is the lock file. It should rotate the log
> file from the previous run and delete the lock file.
How often do you check your log files for crashes when you have your
script hiding the fact that it crashed from you?
>
>>
>> Also, as the X server is not bound to a tty, it forks to the
>> background on its own anyway, so your pseudocode example would delete
>> the lock file just after the X server started.
>
>
> In that case the the script needs to retrieve the PID of the forked process
> and wait for it to exit.
I would much rather have the binary process clean up after itself like
it is supposed to, and figure out why the binary process is failing to
do so when it doesn't than have a script that hides such failures from
me.
To each its own though.
-- Erik
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ: http://x.cygwin.com/docs/faq/