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

Commitc36eb8e

Browse files
andyneffWardenGnaw
authored andcommitted
Using sh instead of bash (microsoft#2340)
Fixesmicrosoft#569
1 parentad46d38 commitc36eb8e

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
@@ -120,7 +120,7 @@ export class RemoteAttachPicker {
120120

121121
privategetRemoteOSAndProcesses(pipeCmd:string):Promise<AttachItem[]>{
122122
// Commands to get OS and processes
123-
constcommand:string=`bash -c 'uname && if [ $(uname) == "Linux" ] ; then${PsProcessParser.psLinuxCommand} ; elif [ $(uname) == "Darwin" ] ; `+
123+
constcommand:string=`sh -c 'uname && if [ $(uname) == "Linux" ] ; then${PsProcessParser.psLinuxCommand} ; elif [ $(uname) == "Darwin" ] ; `+
124124
`then${PsProcessParser.psDarwinCommand}; fi'`;
125125

126126
returnexecChildProcess(`${pipeCmd} "${command}"`,null,this._channel).then(output=>{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp