Skip to content
3 changes: 2 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "bazel-stack-vscode",
"displayName": "bazel-stack-vscode",
"description": "Bazel Support for Visual Studio Code",
"version": "1.1.0",
"version": "1.1.1",
"publisher": "StackBuild",
"license": "Apache-2.0",
"icon": "stackb-full.png",
Expand All @@ -26,6 +26,8 @@
"onUri",
"onCommand:bsv.openExtensionSetting",
"onCommand:workbench.view.extension.bazel-explorer",
"onView:bsv.workspace",
"onView:bazel-explorer",
"onLanguage:bazel",
"onLanguage:bazelrc",
"onLanguage:starlark"
Expand Down Expand Up @@ -660,4 +662,4 @@
"tabWidth": 2,
"arrowParens": "avoid"
}
}
}
9 changes: 8 additions & 1 deletion src/bezel/status.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import * as os from 'os';
import * as vscode from 'vscode';
import { ComponentConfiguration } from './configuration';
import { quote } from 'shell-quote';
Expand Down Expand Up @@ -291,7 +292,13 @@ export abstract class LaunchableComponent<
const terminal = vscode.window.createTerminal(this.terminalName);
this.terminal = terminal;

terminal.sendText(quote(args), true);
let command = '';
if (os.platform() === 'win32') {
command = args.join(' ');
} else {
command = quote(args);
}
terminal.sendText(command, true);
terminal.show();

this.setStatus(Status.LAUNCHING);
Expand Down