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

Force linux command to have exit code 0 #45

Closed
wants to merge 1 commit into from
Closed

Force linux command to have exit code 0 #45

wants to merge 1 commit into from

Conversation

pablopunk
Copy link

I didn't wanna make more linux related issues so I found a fix for https://github.com/sindresorhus/wallpaper-cli/issues/7.

I found that the error was thrown by child_process because the exit code of the command was 1 (even tho it's kind of intended). I forced it to have exit code 0 with echo, although it's not the most elegant solution. I'm open to other solutions.

@pablopunk
Copy link
Author

@sindresorhus any input on this? If you're too busy to handle linux PRs I'm happy to help.

@sindresorhus
Copy link
Owner

The Linux part of the codebase was completely rewritten. I don't think this is an issue anymore.

@pablopunk pablopunk deleted the fix-linux-code-1 branch May 30, 2019 14:33
@pablopunk
Copy link
Author

Sounds good! Thank you @sindresorhus, I appreciate that you do reply to every single PR and issue, that must be quite some work.

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.

None yet

2 participants