We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d576ee6 commit 86ca967Copy full SHA for 86ca967
src/arduino/arduino.ts
@@ -424,11 +424,10 @@ Please make sure the folder is not occupied by other procedures .`);
424
let cmd: string;
425
let args: string[];
426
// pre-/post-build commands feature full bash support on UNIX systems.
427
- // Windows users must live with their poor system unless someone is
428
- // willing to fight with the annoying Windows cmd escaping -- good luck!
+ // On Windows you have full cmd support.
429
if (os.platform() === "win32") {
430
- args = cmdline.split(/\s+/);
431
- cmd = args.shift();
+ args = [];
+ cmd = cmdline;
432
} else {
433
args = ["-c", cmdline];
434
cmd = "bash";
0 commit comments