Ask a Question related to UNIX Programming, Design and Development.
-
stephan beal #1
Re: SIGTTIN signal when running process in the background (ksh SunOS 5.6)
Stephane CHAZELAS wrote:
<big snip>> to read(2) system calls. The libc scanf(3) function performs
> such calls.Stephane,> You can play around with "ps -j", perl -e 'iotcl(...', and the
> setsid(1) command (you may not have it) so see how things work.
>
> If you have a GNU system, look at: info -f libc -n 'Job Control'
Thanks. :)
i learned a lot from your post.
--
----- stephan beal
Registered Linux User #71917 [url]http://counter.li.org[/url]
I speak for myself, not my employer. Contents may
be hot. Slippery when wet. Reading disclaimers makes
you go blind. Writing them is worse. You have been Warned.
stephan beal Guest
-
Executing a background process
I’m writing a web page that allows users to reset their own Terminal Services session. The app needs to execute a program in the background (on... -
Listener background process
Does anyone know how to set up a process that will run continually in the background? (like the mouse or key listner object) I need to define my... -
running .exe in PHP, but not as a process
I am using PHP as an ISAPI module, and I have an executable (.exe) file that must be run from PHP, but not as a "background process". For example if... -
exec background process
I want have PHP call another process (another PHP script at the moment but it may end up being a binary) in the background and not wait for process... -
Background process
I have a script that starts a background process and redirects. The background process is a PHP script that is started with an exec() call. The... -
Barry Margolin #2
Re: SIGTTIN signal when running process in the background (ksh SunOS 5.6)
In article <c9b7e912.0307211108.5b20f536@posting.google.com >,
Gabriel <gabielex@hotmail.com> wrote:Some ioctls on a terminal device will also signal SIGTTIN. Maybe you were>The funny thing is that I added some code to generate a core file when
>the signal SIGTTIN is catched, to see if I can find out what function
>call is triggering the signal. Well, compiled the code and now I can't
>reproduce the error again. It just seems to work fine running in the
>background. Weird.
>
>I've fixed some bugs in other parts of the code in the meantime so I
>don't know what may have affeced to this. Well, I'll let you know when
>(if) I find out.
doing these to stdin, and your changes removed them.
--
Barry Margolin, [email]barry.margolin@level3.com[/email]
Level(3), Woburn, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.
Barry Margolin Guest



Reply With Quote

