Skip to content

Commit

Permalink
Fix ps call for Alpine images (#4097)
Browse files Browse the repository at this point in the history
  • Loading branch information
gc46 authored Sep 30, 2020
1 parent 1b7e1b8 commit 2d26b5d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/features/processPicker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ interface IPipeTransportOptions {

export class RemoteAttachPicker {
public static get commColumnTitle() { return Array(PsOutputParser.secondColumnCharacters).join("a"); }
public static get linuxPsCommand() { return `ps -axww -o pid=,comm=${RemoteAttachPicker.commColumnTitle},args=`; }
public static get osxPsCommand() { return `ps -axww -o pid=,comm=${RemoteAttachPicker.commColumnTitle},args= -c`; }
public static get linuxPsCommand() { return `ps axww -o pid=,comm=${RemoteAttachPicker.commColumnTitle},args=`; }
public static get osxPsCommand() { return `ps axww -o pid=,comm=${RemoteAttachPicker.commColumnTitle},args= -c`; }
public static get debuggerCommand() { return "${debuggerCommand}"; }
public static get scriptShellCmd() { return "sh -s"; }

Expand Down

0 comments on commit 2d26b5d

Please sign in to comment.