Skip to content

ps command does not have "no-headers" flag in Mac OS X #16

@dotansimha

Description

@dotansimha

The command:
ps --no-headers -p 49223 -o ppid

fails and gives this errors:

Error: Command failed: ps --no-headers -p 49223 -o ppid
ps: illegal option -- -
usage: ps [-AaCcEefhjlMmrSTvwXx] [-O fmt | -o fmt] [-G gid[,gid...]]
          [-g grp[,grp...]] [-u [uid,uid...]]
          [-p pid[,pid...]] [-t tty[,tty...]] [-U user[,user...]]
       ps [-L]

The flag --no-headers does no exists in Mac OS X.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions