commit | a7794f483b5351ff7712bc02d0f3469551ce5290 | [log] [tgz] |
---|---|---|
author | Eli Zaretskii <eliz@gnu.org> | Tue Oct 22 18:55:38 2013 +0300 |
committer | Eli Zaretskii <eliz@gnu.org> | Tue Oct 22 18:55:38 2013 +0300 |
tree | fba4e1d1d1a479ee1fbbb143198fdb908bd59570 | |
parent | 5d653b535a0e0e607c8be2016bcaadd6f326a698 [diff] |
Fix Savannah bug 40241 with Unixy file names as commands to MSYS shell. * sub_proc.c: Include filedef.h and variable.h. (process_begin): If exec_path was not found, but its first character is '/', assume there's some shell magic, and invoke the command through '$(SHELL) -c "COMMAND"'. Fixes SV bug#40241. (make_command_line): Kludgey feature: if full_exec_path is "-c", assume that argv[0] is not to be skipped, as it holds the command string to be passed to the shell.