- Sep 30, 2017
-
-
Raymond Toy authored
This is basically the solution proposed by Elias Pipping with a few minor tweaks. - In `run-program`, don't merge `program` with the "path:" search-list. `spawn` will handle this. - In `spawn`, if the first call to execve fails, instead of trying "/bin/sh", use "/usr/bin/env" which will use the user's PATH if necessary to find the program.
-
- Sep 16, 2017
-
-
Raymond Toy authored
- If `waidpid` returns 0 or -1, we should return. - Make the fprintf message a bit clearer on what's happening when we have some kind of status that we didn't handle.
-
Raymond Toy authored
- process-alive-p should return T for continued processes - Simplify prog-status slightly by making the status code array start :signaled instead of nil. - Update prog_status with enum to specify the codes to make it clearer what they mean and to make it clearer that it matches the expectations in prog-status.
-
- Sep 09, 2017
-
-
Raymond Toy authored
The main problem is that we weren't calling wait3 with WCONTINUED so that we would be signaled when the process continues. And we also need to check that result of wait call was WCONTINUED> Replace the wait3 routine with a C routine (prog_status) so we don't have to deal with the OS-specific flags. This function basically returns what the lisp function wait3 did. Use this function in GET-PROCESSES-STATUS-CHANGES. - runprog.c: - Add prog_status - run-program.lisp: - Use prog_status instead of wait3 - issues.lisp: - Add basic test
-
- Sep 01, 2012
-
-
Raymond Toy authored
* Get rid of the RCS Header stuff. They're meaningless in git. * Add public domain comment to some of the files if the only comment was the RCS header.
-
- Nov 04, 2011
-
-
Raymond Toy authored
-
- Sep 15, 2005
-
-
rtoy authored
.indent.pro.
-
- Sep 07, 2005
-
-
cshapiro authored
* Set the process group leader using setsid() on all ports. * Call sigprocmask() unmasking any signals masked by Lisp. * Make spawn() officially return a pid_t instead of an int. * Make a few minor whitespace and formatting corrections while we're at it. * Fix the includes list to eliminate compiler warnings and reflect reality.
-
- Jul 08, 2004
-
-
rtoy authored
-
- Jul 07, 2004
-
-
rtoy authored
* backtrace.c, save.c: fprintf warnings. * interrupt.h: Declare build_fake_control_stack_frame and interrupt_handle_space_overflow. * os-common.c: Include interrupt.h to define build_fake_control_stack_frame. * parse.c, runprog.c, search.c: Include some standard system headers to get rid of undefined function warnings.
-
- Oct 27, 2000
-
-
dtc authored
-
- Oct 25, 1994
-
-
ram authored
-
- Oct 24, 1994
-
-
ram authored
-
- Aug 04, 1993
-
-
wlott authored
-