Re: [fpc-pascal] sending signal to child process

2009-03-31 Thread Henry Vermaak
2009/3/31 Tom Carly : > Hi, > > I found that the problem is coming from the fact that I use > process.Options := ProcessB.Options + [poUsePipes]; > > If I switch that off, process B does execute the signal handling code. Is > this a bug or am I missing something? it would be great if you could ma

RE: [fpc-pascal] sending signal to child process

2009-03-31 Thread Tom Carly
...@lists.freepascal.org [mailto:fpc-pascal-boun...@lists.freepascal.org] On Behalf Of Henry Vermaak Sent: maandag 30 maart 2009 16:37 To: FPC-Pascal users discussions Subject: Re: [fpc-pascal] sending signal to child process 2009/3/30 Tom Carly : > Hi, > > > > I have a process A that

Re: [fpc-pascal] sending signal to child process

2009-03-30 Thread Henry Vermaak
2009/3/30 Tom Carly : > Hi, > > > > I have a process A that starts another process B (with TProcess.Create). > > I introduced signal handling for SIGHUP, SIGTERM and SIGINT in process A and > process B. > > The signal handling of process A triggers a call to > “fpkill(processA.processid, SIGTERM)”