public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Defect/Bug Ps.exe
@ 2023-04-24 18:37 Sanyh Maslaev
  2023-04-25  8:20 ` Corinna Vinschen
  0 siblings, 1 reply; 2+ messages in thread
From: Sanyh Maslaev @ 2023-04-24 18:37 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 729 bytes --]

Recent version ps command does not support option -o, which is widely used
in many makefiles. This option is trivial to implement and it would greatly
improve QL for me and many other users, although i ' m not into building
sygwin to fix it myself.

COMMAND

ps -o command -p $$

what makefile expected

/usr/bin/bash

what did it get

ps: unknown option -- o
Try `ps --help' for more information.

Example:
When output for ps -p $$ is
PID    PPID    PGID     WINPID   TTY         UID    STIME COMMAND
      383     382     383       1040  pty0      197610 15:27:24
/usr/bin/bash
ps -o pid -p $$ should yield 383
ps -o STIME -p $$ should yield 15:27:24

Many users need thist implemented, for no longer manually fixing shscripts

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Defect/Bug Ps.exe
  2023-04-24 18:37 Defect/Bug Ps.exe Sanyh Maslaev
@ 2023-04-25  8:20 ` Corinna Vinschen
  0 siblings, 0 replies; 2+ messages in thread
From: Corinna Vinschen @ 2023-04-25  8:20 UTC (permalink / raw)
  To: cygwin

On Apr 24 21:37, Sanyh Maslaev via Cygwin wrote:
> Recent version ps command does not support option -o, which is widely used
> in many makefiles. This option is trivial to implement and it would greatly
> improve QL for me and many other users, although i ' m not into building
> sygwin to fix it myself.

Just use procps from the procps-ng package.


Corinna

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-04-25  8:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-24 18:37 Defect/Bug Ps.exe Sanyh Maslaev
2023-04-25  8:20 ` Corinna Vinschen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).