Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit102ffc1

Browse files
authored
Fixing quoting around ssh's command (microsoft#2604)
Thisfixesmicrosoft#2585
1 parent28981f3 commit102ffc1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎Extension/src/Debugger/attachToProcess.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ export class RemoteAttachPicker {
123123
constcommand:string=`sh -c 'uname && if [ $(uname) = "Linux" ] ; then${PsProcessParser.psLinuxCommand} ; elif [ $(uname) = "Darwin" ] ; `+
124124
`then${PsProcessParser.psDarwinCommand}; fi'`;
125125

126-
returnexecChildProcess(`${pipeCmd}"${command}"`,null,this._channel).then(output=>{
126+
returnexecChildProcess(`${pipeCmd}'${command}'`,null,this._channel).then(output=>{
127127
// OS will be on first line
128128
// Processess will follow if listed
129129
letlines:string[]=output.split(/\r?\n/);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp