Skip to content

Conversation

@zultron
Copy link
Contributor

@zultron zultron commented Jul 13, 2019

In Stretch and Buster, output formats may be combined with commas:

$ ps -p 1 -o pid=,s=
    1 S

On Jessie, this does not work:

$ ps -p 1 -o pid=,s=
  ,s=
    1

But separating them as separate options does:

$ ps -p 1 -o pid= -o s=
    1 S

This patch fixes e.g. rtapi:0 exit detection in the realtime
script, a problem introduced by YT in 61446ef.

Fixes #164.

In Stretch and Buster, output formats may be combined with commas:

    $ ps -p 1 -o pid=,s=
        1 S

On Jessie, this does not work:

    $ ps -p 1 -o pid=,s=
      ,s=
        1

But separating them as separate options does:

    $ ps -p 1 -o pid= -o s=
        1 S

This patch fixes e.g. `rtapi:0` exit detection in the `realtime`
script, a problem introduced by YT in 61446ef.

Fixes machinekit#164.
@zultron
Copy link
Contributor Author

zultron commented Jul 13, 2019

Passing amd64_8 tests can be seen here.

@ArcEye ArcEye merged commit 59209c8 into machinekit:master Jul 13, 2019
@zultron zultron deleted the jessie-rtapi_app-shutdown-pr branch September 6, 2020 18:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Jessie amd64 tests fail in Docker

2 participants