Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Small issue on new version 1.9.21 #575

Closed
4 of 12 tasks
leoheck opened this issue Mar 10, 2020 · 1 comment
Closed
4 of 12 tasks

Small issue on new version 1.9.21 #575

leoheck opened this issue Mar 10, 2020 · 1 comment

Comments

@leoheck
Copy link

leoheck commented Mar 10, 2020

Description

When upgrading from the website

commands="npm install -g cncjs@latest; pkill -a -f cnc"

pkill does not recognize --a flag

Versions

  • CNCjs: 1.9.21
  • Node.js: v10.16.3
  • NPM: 5.x

How Do You Install CNCjs?

  • NPM
  • Download the CNCjs Desktop Application

Can't remember (just upgraded now with from the GUI

CNC Controller

  • Grbl
  • Smoothieware
  • TinyG/g2core

Hardware

  • Raspberry Pi
  • Desktop or Laptop
  • Mobile Device

Operating System

  • Not Applicable
  • Windows
  • Mac
  • Linux (Raspbian)
ar 09 22:58:35 cassini cncjs[566]: PID:12184>
Mar 09 22:58:35 cassini cncjs[566]: PID:12184> + cncjs@1.9.21
Mar 09 22:58:35 cassini cncjs[566]: added 81 packages from 40 contributors, removed 167 packages, updated 97 packages and moved 3 packages in 216.744s
Mar 09 22:58:35 cassini sudo[12185]: pam_unix(sudo:session): session closed for user root
Mar 09 22:58:35 cassini cncjs[566]: PID:12184> pkill: invalid option -- 'a'
Mar 09 22:58:35 cassini cncjs[566]: PID:12184>
Mar 09 22:58:35 cassini cncjs[566]: Usage:
Mar 09 22:58:35 cassini cncjs[566]:  pkill [options] <pattern>
Mar 09 22:58:35 cassini cncjs[566]: Options:
Mar 09 22:58:35 cassini cncjs[566]:  -<sig>, --signal <sig>    signal to send (either number or name)
Mar 09 22:58:35 cassini cncjs[566]:  -e, --echo                display what is killed
Mar 09 22:58:35 cassini cncjs[566]:  -c, --count               count of matching processes
Mar 09 22:58:35 cassini cncjs[566]:  -f, --full                use full process name to match
Mar 09 22:58:35 cassini cncjs[566]:  -g, --pgroup <PGID,...>   match listed process group IDs
Mar 09 22:58:35 cassini cncjs[566]:  -G, --group <GID,...>     match real group IDs
Mar 09 22:58:35 cassini cncjs[566]:  -i, --ignore-case         match case insensitively
Mar 09 22:58:35 cassini cncjs[566]:  -n, --newest              select most recently started
Mar 09 22:58:35 cassini cncjs[566]:  -o, --oldest              select least recently started
Mar 09 22:58:35 cassini cncjs[566]:  -P, --parent <PPID,...>   match only child processes of the given parent
Mar 09 22:58:35 cassini cncjs[566]:  -s, --session <SID,...>   match session IDs
Mar 09 22:58:35 cassini cncjs[566]:  -t, --terminal <tty,...>  match by controlling terminal
Mar 09 22:58:35 cassini cncjs[566]:  -u, --euid <ID,...>       match by effective IDs
Mar 09 22:58:35 cassini cncjs[566]:  -U, --uid <ID,...>        match by real IDs
Mar 09 22:58:35 cassini cncjs[566]:  -x, --exact               match exactly with the command name
Mar 09 22:58:35 cassini cncjs[566]:  -F, --pidfile <file>      read PIDs from file
Mar 09 22:58:35 cassini cncjs[566]:  -L, --logpidfile          fail if PID file is not locked
Mar 09 22:58:35 cassini cncjs[566]:  --ns <PID>                match the processes that belong to the same
Mar 09 22:58:35 cassini cncjs[566]:                            namespace as <pid>
Mar 09 22:58:35 cassini cncjs[566]:  --nslist <ns,...>         list which namespaces will be considered for
Mar 09 22:58:35 cassini cncjs[566]:                            the --ns option.
Mar 09 22:58:35 cassini cncjs[566]:                            Available namespaces: ipc, mnt, net, pid, user, uts
Mar 09 22:58:35 cassini cncjs[566]:  -h, --help     display this help and exit
Mar 09 22:58:35 cassini cncjs[566]:  -V, --version  output version information and exit
Mar 09 22:58:35 cassini cncjs[566]: For more details see pgrep(1).
Mar 09 22:58:47 cassini cncjs[566]: F3SKMQpoYK0J7oxfEWimS7SiwAig2C41 GET / 304 7.082 ms
@cheton
Copy link
Collaborator

cheton commented Mar 10, 2020

It's not related to CNCjs 1.9.21. Just simply removing the -a option from the pkill command since it is not a supported option according to the help usage you provided.

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

No branches or pull requests

2 participants