-
Notifications
You must be signed in to change notification settings - Fork 598
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
feat: allow passing G_SPAWN stdio flags to awesome.spawn #3932
base: master
Are you sure you want to change the base?
Conversation
9a26df1
to
cf493d9
Compare
I have no idea why the checks are failing to compile. This compiles (and runs successfully) locally. All the "missing" symbols should be provided by |
It turns out the GLIB Version is too low. |
prolly the only way for you here is to IFDEF it and mention that in the docs (also you didn't updated the doc aside of changing the type) |
@actionless I added a (compile-time) version check. I tried to use ifdef, but for some reason it wouldn't detect as defined. |
The new behavior has been added to the documentation |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks 👍
Is there anything left for me to do for this to be merged, or are we just waiting for another review? |
see #3934 |
There is also the |
@Aire-One If I understand correctly, that check is testing each commit to check that they all pass tests? |
yes |
Alright, I've all the commits into the first (primary) commit. |
From what I can tell, the CI checks failed during setup (and thusly not due to my code) |
Apparently this is documented incorrectly, but the second argument of Also, the oldest still supported glib2 version appears to be 2.56 (for RHEL 8.8). Ubuntu 20.04 and 22.04 also have older versions. So 2.74 definitively will prevent people from building on a large number of totally supported distributions. This will require some |
I currently haven't touched I currently do have the >2.74 functionality behind an This absolutely should build in its current state, without raising the minimum required GLib version. If i'm mistaken and that's not the case, please let me know so I can fix it. |
The CI builds and tests pass on GLib version 2.64.6; so i'm fairly certain that this change is backwards-compatible.
|
@actionless now that #3934 is fixed, are there any blockers to this pr? |
Fixes: awesomeWM#3865 Currently works by allowing the exact strings "DEV_NULL" or "INHERIT" to be passed to return_std*. Signed-off-by: aarondill <[email protected]>
I've rebased this onto the current |
Fixes: #3865
Currently works by allowing the exact strings "DEV_NULL" or "INHERIT" to be passed to return_std*.