gtg team mailing list archive
-
gtg team
-
Mailing list archive
-
Message #00202
[Bug 430816] [NEW] [patch] check_instance() isn't working on non-GNU ps
Public bug reported:
Good day!
It's still possible to start more then one gtg instance in FreeBSD (and
i believe in other BSDs), because the check_instance() in GTG\gtg.py is
GNU ps(1)-specific. I have the following message when starting gtg on
FreeBSD:
> gtg
ps: illegal option -- -
usage: ps [-aCcdefHhjlmrSTuvwXxZ] [-O fmt | -o fmt] [-G gid[,gid...]]
[-M core] [-N system]
[-p pid[,pid...]] [-t tty[,tty...]] [-U user[,user...]]
ps [-L]
ps: illegal option -- -
usage: ps [-aCcdefHhjlmrSTuvwXxZ] [-O fmt | -o fmt] [-G gid[,gid...]]
[-M core] [-N system]
[-p pid[,pid...]] [-t tty[,tty...]] [-U user[,user...]]
ps [-L]
I've attached ugly but simple patch, that works fine both on linux and
freebsd.
** Affects: gtg
Importance: Undecided
Status: New
--
[patch] check_instance() isn't working on non-GNU ps
https://bugs.launchpad.net/bugs/430816
You received this bug notification because you are a member of Gtg
developers, which is subscribed to Getting Things GNOME!.
Status in Getting Things GNOME!: New
Bug description:
Good day!
It's still possible to start more then one gtg instance in FreeBSD (and i believe in other BSDs), because the check_instance() in GTG\gtg.py is GNU ps(1)-specific. I have the following message when starting gtg on FreeBSD:
> gtg
ps: illegal option -- -
usage: ps [-aCcdefHhjlmrSTuvwXxZ] [-O fmt | -o fmt] [-G gid[,gid...]]
[-M core] [-N system]
[-p pid[,pid...]] [-t tty[,tty...]] [-U user[,user...]]
ps [-L]
ps: illegal option -- -
usage: ps [-aCcdefHhjlmrSTuvwXxZ] [-O fmt | -o fmt] [-G gid[,gid...]]
[-M core] [-N system]
[-p pid[,pid...]] [-t tty[,tty...]] [-U user[,user...]]
ps [-L]
I've attached ugly but simple patch, that works fine both on linux and freebsd.
Follow ups
References