| # | Line 65 | Line 65 | char* type | |
|---|---|---|
| 65 | int n, i, mode = 0, append = 0; | |
| 66 | int ncmds = 0; | |
| 67 | FILE *inf = NULL; | |
| 68 | + | char *s = NULL; |
| 69 | HANDLE stdoutRd = NULL, stdoutWr = NULL; | |
| 70 | HANDLE stdinRd = NULL, stdinWr = NULL; | |
| 71 | HANDLE stderrWr = NULL; | |
| # | Line 80 | Line 81 | char* type | |
| 81 | eputs(estr); | |
| 82 | return NULL; | |
| 83 | } | |
| 84 | + | /* single quotes aren't removed, so change to double-quotes */ |
| 85 | + | for (s=command; *s; s++) |
| 86 | + | if (*s == '\'') |
| 87 | + | *s = '"'; |
| 88 | ||
| 89 | stdoutOrig = GetStdHandle(STD_OUTPUT_HANDLE); | |
| 90 | stdinOrig = GetStdHandle(STD_INPUT_HANDLE); | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |