Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
List all processes owned by you
  • Loading branch information
gulderov committed Sep 7, 2017
commit 94566696ec7061209784f4327b0b8422861aff50
4 changes: 2 additions & 2 deletions packages/react-dev-utils/launchEditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -194,10 +194,10 @@ function guessEditor() {
}
} else if (process.platform === 'linux') {
// --no-heading No header line
// -e Select all processes
// x List all processes owned by you
// -o comm Need only names column
const output = child_process
.execSync('ps --no-heading -e -o comm --sort=comm')
.execSync('ps x --no-heading -o comm --sort=comm')
.toString();
const processNames = Object.keys(COMMON_EDITORS_LINUX);
for (let i = 0; i < processNames.length; i++) {
Expand Down