I'm running NT4 SP6. I ran through your examples and my results match yours
(visa vie shell vs non-shell)
btw, I used both tcsh and cmd and got the same results. I also launched
sleep from perl
(start-process "shell" null "perl" "t.pl")
And the interupt killed the perl and the sleep processes so it seems to be
some interaction with the shell (but this is definately an extrapolation :-)
-----Original Message-----
From: Adrian Aichner [mailto:aichner@ecf.teradyne.com]
Sent: Saturday, May 06, 2000 1:00 PM
To: Charlie Fineman
Cc: 'Gunnar Evermann'; Adrian Aichner; Ben Wing; XEmacs Beta List;
XEmacs NT List
Subject: Re: (interrup-process ...) broken on NT native
>>>>> "Charlie" == Charlie Fineman <fineman(a)arzoon.com> writes:
Charlie> Here are some data points from 21.2 build32
Charlie, what is yourr OS type and version?
I have NT4 SP5. Following is what I experience on my system:
Charlie> - interrupt-process has no effect
Well, this isn't strictly true.
It works fine for processes not run under a shell ("cmd" in my case).
If you evaluate these manually one-by-one (C-x C-e (eval-last-sexp)),
you should not see the sleep process in task manager.
(start-process "sleepy" nil "sleep" "60")
(message "before: %S" (get-process "sleepy"))
(interrupt-process "sleepy")
(message "after: %S" (get-process "sleepy"))
What does not work is interrupting a process runnning under a "cmd" shell:
(start-process "shell" nil "cmd" "/c" "sleep" "5")
(message "before: %S" (get-process "shell"))
(interrupt-process "shell" t)
(message "after: %S" (get-process "shell"))
Neither "cmd" nor "sleep" get interrupted.
Charlie> - kill-process prints the exit message in the process
Charlie> buffer and the process no longer shows up in
Charlie> list-processes but the NT process still shows up in the
Charlie> Task Manager
Not for me. Processes not running as sub-processes of a shell are
really killed.
Charlie> - delete-process has the same result as kill-process (no
Charlie> suprise since the doc seems to indicate that it calls
Charlie> kill-process)
See above.
Charlie> - killing the process from the Task Manager seems to work
Charlie> fine (i.e. emacs does notice it)
Yep, same here.
Charlie> -----Original Message-----
Charlie> From: Gunnar Evermann [mailto:ge204@eng.cam.ac.uk]
Charlie> Sent: Saturday, May 06, 2000 10:52 AM
Charlie> To: Adrian Aichner
Charlie> Cc: Ben Wing; XEmacs Beta List; XEmacs NT List
Charlie> Subject: Re: (interrup-process ...) broken on NT native
Charlie> Have you tried using Fdelete_process instead of
Finterrupt_process?
Charlie> random other idea: Can you kill the subprocess from outside
xemacs and
Charlie> see whether we at least notice that?
Charlie> Gunnar