Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support terminal shell args as string #22565

Merged
merged 2 commits into from
Mar 14, 2017
Merged

Support terminal shell args as string #22565

merged 2 commits into from
Mar 14, 2017

Conversation

Tyriar
Copy link
Member

@Tyriar Tyriar commented Mar 13, 2017

Fixes #19078

@Tyriar Tyriar added this to the March 2017 milestone Mar 13, 2017
@Tyriar Tyriar self-assigned this Mar 13, 2017
@@ -391,7 +391,7 @@ export class TerminalTaskSystem extends EventEmitter implements ITaskSystem {
} else {
(this.terminalService.configHelper as TerminalConfigHelper).mergeDefaultShellPathAndArgs(shellLaunchConfig);
}
let shellArgs = shellLaunchConfig.args.slice(0);
let shellArgs = <string[]>shellLaunchConfig.args.slice(0);
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@weinand FYI IShellLaunchConfig can now have args as a string to support @dbaeumer's use case of needed to use a pre-escaped set of arguments. I needed to make this change which I believe shouldn't cause any issues.

@Tyriar Tyriar merged commit 5cbb1b0 into master Mar 14, 2017
@Tyriar Tyriar deleted the tyriar/19078 branch March 14, 2017 18:22
@github-actions github-actions bot locked and limited conversation to collaborators Mar 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Terminal doesn't honor quoted command lines.
2 participants