public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Sanyh Maslaev <2sanychbezxyev@gmail.com>
To: cygwin@cygwin.com
Subject: Defect/Bug Ps.exe
Date: Mon, 24 Apr 2023 21:37:46 +0300	[thread overview]
Message-ID: <CABpB5em3r39v0gzK+4UyPsag9eN+XHUC4=b=ot6rF0tgA1Y4wQ@mail.gmail.com> (raw)

[-- 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

             reply	other threads:[~2023-04-24 18:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-24 18:37 Sanyh Maslaev [this message]
2023-04-25  8:20 ` Corinna Vinschen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CABpB5em3r39v0gzK+4UyPsag9eN+XHUC4=b=ot6rF0tgA1Y4wQ@mail.gmail.com' \
    --to=2sanychbezxyev@gmail.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).