From 2d26b5d16a3a516a79d89b79c4d0a3b6557148d8 Mon Sep 17 00:00:00 2001 From: gc46 Date: Wed, 30 Sep 2020 16:44:44 -0700 Subject: [PATCH] Fix ps call for Alpine images (#4097) --- src/features/processPicker.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/features/processPicker.ts b/src/features/processPicker.ts index f087ffe7b..2a2294df1 100644 --- a/src/features/processPicker.ts +++ b/src/features/processPicker.ts @@ -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"; }