()
| 20593 | throw new Error("child process missing stdin"); |
| 20594 | } |
| 20595 | cp.stdin.end(this.options.input); |
| 20596 | } |
| 20597 | })); |
| 20598 | }); |
| 20599 | } |
| 20600 | }; |
| 20601 | function argStringToArray(argString) { |
| 20602 | const args = []; |
| 20603 | let inQuotes = false; |
| 20604 | let escaped = false; |
| 20605 | let arg = ""; |
| 20606 | function append(c) { |
| 20607 | if (escaped && c !== '"') { |
| 20608 | arg += "\\"; |
| 20609 | } |
no test coverage detected