| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
Don't stop reading if read returns negative.
|
| |
|
| |
|
| |
|
|
|
|
| |
is still tested for doc file.
|
| |
|
|
|
|
| |
it points at the child's working directory.
|
|
|
|
| |
Don't call nice if emacs_priority is positive.
|
|
|
|
| |
the executable's location. But maybe set it from source dir.
|
|
|
|
|
|
|
|
|
|
|
| |
(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.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
(call_process_cleanup): Always close descriptor.
|
| |
|
|
|
|
|
|
| |
(call_process_exited): New variable.
(Fcall_process): Set it.
(call_process_cleanup): Test it.
|
|
|
|
| |
(init_callproc_1): Initialize it.
|
|
|
|
| |
(init_callproc): Put non-ex-dir warnings on stderr.
|
| |
|
| |
|
| |
|
|
|
|
| |
(relocate_fd): Call strerror instead of using sys_errlist.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(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.
|
|
|
|
| |
(child_setup): Use EMACS_SET_TTY_PGRP.
|
|
|
|
| |
(Fgetenv): One arg is maximum.
|
|
|
|
| |
(init_callproc): Fix previous change.
|
|
|
|
|
|
| |
and maybe store it in exec-directory.
Maybe put ../etc into data-directory.
(init_callproc_1): Part of init_callproc is split out.
|
|
|
|
| |
synch_process_retcode before the vfork.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
call setpgrp with arguments, even if USG is #defined.
* process.c [IRIX] (create_process): Don't call setpgrp before
opening the pty. Call it after doing the TIOCNOTTY ioctl.
|
|
|
|
|
|
|
| |
process.
* callproc.c (Vconfigure_info_directory): New variable, used
internally by build process.
(syms_of_callproc): DEFVAR it and initialize it.
|
| |
|
| |
|
|
|
|
| |
initialized arrays.
|
|
|
|
|
|
|
|
|
|
|
| |
equivalent of /dev/null, and the suffixes used by executable
files. This is simple, and helps people porting Emacs to other
operating systems.
* process.h (NULL_DEVICE): Give this a default value.
* process.c (Fstart_process): Pass EXEC_SUFFIXES to openp.
(Fprocess_send_eof): Use NULL_DEVICE instead of "/dev/null".
* callproc.c (Fcall_process): Pass EXEC_SUFFIXES to openp.
Use NULL_DEVICE instead of "/dev/null".
|
|
|
|
|
| |
not less than three.
(relocate_fd): New function.
|
|
|
|
|
|
|
|
|
|
| |
Lisp_Object, to smooth type-checking.
* callproc.c (init_callproc): Move the initialization of
Vprocess_environment to its own function.
(set_process_environment): This is that.
* emacs.c (main): Call set_process_environment earlier than
init_callproc.
|
|
|
|
|
|
| |
had a misplaced paren. This only became apparent because of
jimb's change on February 8 to Fexpand_file_name.
* callproc.c (Fcall_process): Ditto.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
for subprocesses when the buffer's default-directory is a handled
name.
* fileio.c (Funhandled_file_name_directory): New function.
(Qunhandled_file_name_directory): New file-name-handler operation.
(syms_of_fileio): Defsubr Sunhandled_file_name_directory, and
initialize and staticpro Qunhandled_file_name_directory.
* callproc.c (Fcall_process): Call Funhandled_file_name_directory
on the buffer's default directory. Do it earlier in the function
so there's less to GCPRO.
* process.c (create_process): Don't check the validity of the
buffer's default directory here...
(Fstart_process): Instead, do it here; if we call
Funhandled_file_name_directory here, there's less GCPROing to do.
* callproc.c (Fcall_process_region): Return the value returned by
Fcall_process.
|
|
|
|
| |
Added VMS changes from Roland Roberts.
|
|
|
|
|
|
|
|
|
|
| |
first time the user quits, or SIGKILL if the user quits again.
#include "syssignal.h".
(call_process_kill): New function.
(call_process_cleanup): Send SIGINT to the subprocess, and then
arrange to call call_process_kill if the user quits while we wait
for it to terminate.
(Fcall_process, Fcall_process_region): Doc fix.
|
|
|
|
| |
simple, portable call to nice here.
|
|
|
|
| |
here?
|