After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 772825 - [gnome-session-inhibit] drop child first command argument
[gnome-session-inhibit] drop child first command argument
Status: RESOLVED FIXED
Product: gnome-session
Classification: Core
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: Session Maintainers
Session Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-10-12 20:46 UTC by maxime.deroucy
Modified: 2017-09-05 20:18 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch that fix this bug (1.17 KB, patch)
2016-10-12 20:48 UTC, maxime.deroucy
committed Details | Review

Description maxime.deroucy 2016-10-12 20:46:49 UTC
Hello

```
max@max-laptop % cat test.c
#include <iostream>
using namespace std;

int main(int argc, char** argv)
{
        for (int i = 0; i < argc; ++i)
        {
                cout << argv[i] << endl;
        }
}
max@max-laptop % g++ test.c
max@max-laptop % ./a.out 11 22 33 44
./a.out
11
22
33
44
max@max-laptop % gnome-session-inhibit ./a.out 11 22 33 44
11
22
33
44
```
Comment 1 maxime.deroucy 2016-10-12 20:48:42 UTC
Created attachment 337537 [details] [review]
patch that fix this bug
Comment 2 gnome 2017-09-01 09:00:39 UTC
Is there a reason the patch isn't merged yet?
Comment 3 Ray Strode [halfline] 2017-09-05 20:18:02 UTC
Thanks pushed,

To ssh://git.gnome.org/git/gnome-session
   c769584b..3ef9795d  master -> master