jed-users mailing list

[2006 Date Index] [2006 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

Start a process from within a signal handler


Hi,

can I start a new process while I'm in a signal handler?

If latex exits and it requests a rerun I would like to setup a new
process running latex again. But I get the notice latex has quit within a
signal handler where I can't setup a new process. How can I handle this?

Traceback: open_process
***string***:1:<top-level>:Run-Time Error
Traceback: called from eval: open_process("/bin/echo", "halle", 1)
Traceback: eval
/home/joerg/.jed/latex_external.sl:595:expand_and_run_cmd:Run-Time Error
  Local variables for expand_and_run_cmd:
	String_Type cmd = "/bin/echo", "halle", 1"
	String_Type buf = "*"
	Integer_Type len = 22
	String_Type master_file = "/tmp/test.latex"
	String_Type dir = "/tmp"
	String_Type oldbuf = "test.latex"
	Undefined_Type pid = Undefined_Type
/home/joerg/.jed/latex_external.sl:960:compose_sig_handl:Run-Time Error
  Local variables for compose_sig_handl:
	Integer_Type pid = 0
	Integer_Type flags = 4
	Integer_Type status = 0

Bye, Jörg.
-- 
Alles, wovor wir Angst haben müssen, ist die Angst selbst.
       	     	       	     	     	 (Fraklin D. Roosevelt)

--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.


[2006 date index] [2006 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]