Mercurial > emacs
comparison src/callproc.c @ 11379:23f7aa711f96
(child_setup) [WINDOWSNT]: Removed syntax errors.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Wed, 12 Apr 1995 01:59:39 +0000 |
parents | e6bdaaa6ce1b |
children | 81653012e0a6 |
comparison
equal
deleted
inserted
replaced
11378:9020ac98e9d3 | 11379:23f7aa711f96 |
---|---|
806 #endif /* vipc */ | 806 #endif /* vipc */ |
807 | 807 |
808 #ifdef WINDOWSNT | 808 #ifdef WINDOWSNT |
809 /* Spawn the child. (See ntproc.c:Spawnve). */ | 809 /* Spawn the child. (See ntproc.c:Spawnve). */ |
810 cpid = spawnve (_P_NOWAIT, new_argv[0], new_argv, env); | 810 cpid = spawnve (_P_NOWAIT, new_argv[0], new_argv, env); |
811 if (cpid == -1) { ???? | 811 if (cpid == -1) |
812 report_file_error ("Spawning child process", Qnil); | 812 /* An error occurred while trying to spawn the process. */ |
813 } | 813 report_file_error ("Spawning child process", Qnil); |
814 reset_standard_handles (in, out, err, handles); | 814 reset_standard_handles (in, out, err, handles); |
815 return cpid; | 815 return cpid; |
816 #else /* not WINDOWSNT */ | 816 #else /* not WINDOWSNT */ |
817 /* execvp does not accept an environment arg so the only way | 817 /* execvp does not accept an environment arg so the only way |
818 to pass this environment is to set environ. Our caller | 818 to pass this environment is to set environ. Our caller |