aboutsummaryrefslogtreecommitdiffstats
path: root/src/callproc.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* (Fcall_process_region): Pass new arg to Fwrite_region.Richard M. Stallman1995-08-141-2/+2
|
* (init_callproc): Set Vdoc_directory based onRichard M. Stallman1995-07-201-10/+9
| | | | | Vinstallation_directory when that's non-nil, regardless of whether we had to set Vexec_directory.
* (child_setup): Don't get confused if in == err.Richard M. Stallman1995-06-291-6/+17
|
* (call-process-region) [DOS_NT]: Use IS_DIRECTORY_SEP.Richard M. Stallman1995-06-151-1/+5
| | | | (call-process-region) [WINDOWSNT]: Use proper temp file template.
* (Fcall_process): Keep reading till buffer is nearly full.Richard M. Stallman1995-05-091-7/+25
|
* (Fcall_process): Extend BUFFER arg so it can specifyRichard M. Stallman1995-04-291-3/+17
| | | | | a separate output file for stderr output. (Fcall_process_region): Doc fix.
* (child_setup): Reword "can't exec" message.Richard M. Stallman1995-04-241-2/+4
| | | | | | Add newline after message. (Fcall_process): Call Fexpand_file_name for error_file.
* (getenv_internal): Balance parentheses across #if/#endif.Karl Heuer1995-04-121-2/+3
|
* (child_setup) [WINDOWSNT]: Removed syntax errors.Karl Heuer1995-04-121-3/+3
|
* Update copyright.Karl Heuer1995-04-071-1/+1
|
* (Fcall_process): Extend BUFFER arg so it can specifyRichard M. Stallman1995-02-261-12/+69
| | | | | a separate output file for stderr output. (Fcall_process_region): Doc fix.
* (delete_temp_file): Use internal_delete_file.Richard M. Stallman1994-11-281-2/+2
|
* (getenv_internal) [WINDOWSNT]: Use strnicmp, not bcmp.Richard M. Stallman1994-11-011-18/+57
| | | | | | | | | | | | | | | | | | (child_setup): Use IS_DIRECTORY_SEP. [WINDOWSNT]: Call prepare_standard_handles. Use spawnve. Use reset_standard_handles. (Fcall_process_region): Test DOS_NT, not MSDOS. (Fcall_process) [WINDOWSNT]: Call pipe_with_inherited_out. Use the return value of child_setup to get the child's pid; don't call vfork etc. explicitly. [WINDOWSNT]: Add includes. Defone NOMINMAX, _P_NOWAIT. (Vbinary_process_input, Vbinary_process_output) (Qbuffer_file_type): Test DOS_NT, not MSDOS. (syms_of_callproc): Test DOS_NT, not MSDOS. (init_callproc): Test DOS_NT, not MSDOS.
* (child_setup): Always use _exit.Richard M. Stallman1994-10-191-1/+1
|
* (Fcall_process, child_setup, getenv_internal): Use type test macros.Karl Heuer1994-09-271-9/+7
|
* (Fcall_process) [__osf__ && __alpha]:Richard M. Stallman1994-09-171-1/+9
| | | | Don't stop reading if read returns negative.
* (delete_temp_file): Use Fdelete_file.Richard M. Stallman1994-09-141-1/+3
|
* (Fcall_process_region): gcpro filename_string.Karl Heuer1994-08-171-2/+5
|
* Put stdio.h after config.h.Richard M. Stallman1994-06-151-1/+1
|
* (init_callproc) [MSDOS]: Exclude less code, so ../etcRichard M. Stallman1994-06-071-2/+3
| | | | is still tested for doc file.
* [MSDOS]: #include "msdos.h" for rootrelativepath template.Karl Heuer1994-06-041-0/+1
|
* (child_setup): If PWD is set, set it in the child so thatRichard M. Stallman1994-05-281-4/+16
| | | | it points at the child's working directory.
* (child_setup): PRIO_PROCESS renamed to SET_EMACS_PRIORITY.Richard M. Stallman1994-05-131-2/+3
| | | | Don't call nice if emacs_priority is positive.
* (init_callproc): Never set Vdata_directory based onRichard M. Stallman1994-05-121-1/+25
| | | | the executable's location. But maybe set it from source dir.
* [MSDOS]: Rename Vbinary_process to Vbinary_process_output.Richard M. Stallman1994-05-071-4/+29
| | | | | | | | | | | (syms_of_callproc) [MSDOS]: Rename lisp variable binary-process to binary-process-output. (Fcall_process, syms_of_callproc) [MSDOS]: Use new names. (Vbinary_process_input) [MSDOS]: New variable. (syms_of_callproc) [MSDOS]: Declare binary-process-input. (Fcall_process_region) [MSDOS]: Bind binary-process-input temporarily to buffer-file-type. (init_callproc) [MSDOS]: Don't add lib-src as the wrapped binaries are in bin.
* (child_setup): Test PRIO_PROCESS, as in sys_subshell.Richard M. Stallman1994-04-281-0/+2
|
* (init_callproc): Set Vdoc_directory like Vdata_directory.Richard M. Stallman1994-04-211-1/+1
|
* If we include fcntl.h, define INCLUDED_FCNTL.Richard M. Stallman1994-04-121-0/+2
|
* (child_setup): Check out==err when relocating fds.Karl Heuer1994-03-311-2/+7
|
* (call_process_cleanup, getenv_internal): Use assignment, not initialization.Karl Heuer1994-03-231-3/+5
|
* (Fcall_process): Make sure to close descriptors.Richard M. Stallman1994-03-221-9/+15
| | | | (call_process_cleanup): Always close descriptor.
* (Fcall_process): GCPRO some things.Karl Heuer1994-03-181-16/+19
|
* Don't kill remaining processes if child exits.Richard M. Stallman1994-03-091-0/+16
| | | | | | (call_process_exited): New variable. (Fcall_process): Set it. (call_process_cleanup): Test it.
* (syms_of_callproc): New variable Vdoc_directory.Karl Heuer1994-02-221-2/+10
| | | | (init_callproc_1): Initialize it.
* Include stdio.h.Richard M. Stallman1994-01-291-4/+7
| | | | (init_callproc): Put non-ex-dir warnings on stderr.
* (init_callproc): Use Vinstallation_directory.Richard M. Stallman1994-01-171-15/+9
|
* (child_setup): Call close_load_descs.Richard M. Stallman1994-01-111-0/+1
|
* (child_setup): Don't declare PID `register'; we later take its address.Roland McGrath1994-01-081-1/+1
|
* Don't declare sys_errlist; declare strerror instead.Roland McGrath1994-01-081-6/+5
| | | | (relocate_fd): Call strerror instead of using sys_errlist.
* (syms_of_callproc) [MSDOS]: New lisp variable: binary-process.Richard M. Stallman1994-01-081-5/+115
| | | | | | | | | | | | | | | (init_callproc) [MSDOS]: Initialize binary-process. [MSDOS]: Declare binary-process. [MSDOS]: Include <fcntl.h>, <sys/stat.h>, <sys/param.h>, and <errno.h> needed for the next changes. (Fcall_process) [MSDOS]: Create temporary file for process output. Run the subprocess using `run_msdos_command' instead of forking. Arrange for cleanup to erase temporary file. (Fcall_process) [not subprocesses]: Barf if zero buffer argument. (call_process_cleanup) [MSDOS]: Close and erase temporary file instead of the pid-stuff. (Fcall_process_region) [MSDOS]: Create temporary file in $TMP or $TEMP. (Fchild_setup) [MSDOS]: #if 0, as it is not used.
* Include systty.h.Richard M. Stallman1993-12-251-1/+3
| | | | (child_setup): Use EMACS_SET_TTY_PGRP.
* (Fcall_process): Call prepare_menu_bars.Richard M. Stallman1993-12-231-2/+8
| | | | (Fgetenv): One arg is maximum.
* (child_setup): Test SETPGRP_RELEASES_CTTY, not IRIX.Richard M. Stallman1993-11-251-5/+5
| | | | (init_callproc): Fix previous change.
* (init_callproc): Maybe add ../lib-src to exec-pathRichard M. Stallman1993-11-241-10/+47
| | | | | | and maybe store it in exec-directory. Maybe put ../etc into data-directory. (init_callproc_1): Part of init_callproc is split out.
* (Fcall_process): Clear synch_process_death andRichard M. Stallman1993-11-111-3/+6
| | | | synch_process_retcode before the vfork.
* Include <paths.h>, not "paths.h".Roland McGrath1993-09-121-1/+1
|
* Include <config.h> instead of "config.h".Roland McGrath1993-09-101-1/+1
|
* (PRIO_PROCESS): Definition deleted.Richard M. Stallman1993-06-301-1/+1
|
* Changes for Irix 4.0, tested this time:Jim Blandy1993-06-181-1/+1
| | | | | | | | | | | | | | | | * s/irix4-0.h: Get rid of our fake definitions for setpgrp and getpgrp. * callproc.c (Fcall_process): Go ahead and use the USG calling convention for setpgrp. * ymakefile (pre-crt0.o): Add rule for this. Perhaps it will help separate-source-directory compilation. * emacs.c (shut_down_emacs): Some USG systems #define EMACS_HAVE_TTY_PGRP; call getpgrp as appropriate for such systems. * sysdep.c (sys_suspend): Call getpgrp as appropriate for USG and non-USG. * process.c [IRIX] (create_process): Don't put child in process group zero before opening the tty; Irix is like USG in this regard.
* * m/iris4d.h (LIB_STANDARD): Do *not* include -lbsd. We areJim Blandy1993-06-171-1/+3
| | | | | | | | now calling the BSD[sg]etpgrp functions directly, so this library is not needed; it just provides the BSD[sg]etpgrp functions under the [sg]etpgrp names. * callproc.c [IRIX] (child_setup): Don't call setpgrp this time. It's already been called up in Fcall_process, and create_process.