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

use bash as shell for exec command if on linux #2605

Merged
merged 3 commits into from Jun 16, 2020
Merged

use bash as shell for exec command if on linux #2605

merged 3 commits into from Jun 16, 2020

Conversation

johanneskropf
Copy link
Contributor

@johanneskropf johanneskropf commented Jun 10, 2020

This relates to:
#2604
and
https://discourse.nodered.org/t/exec-node-timeout-not-working-in-exec-mode/28040
and is a possible workaround for most issues related to kill described there.
This has only been tested on linux where this change applies so it would most definitely need more testing on windows/mac and maybe linux distributions where there is no bash(?).

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

Proposed changes

Checklist

  • I have read the contribution guidelines
  • For non-bugfix PRs, I have discussed this change on the forum/slack team.
  • I have run grunt to verify the unit tests pass
  • I have added suitable unit tests to cover the new/changed functionality

This relates to:
#2604
and
https://discourse.nodered.org/t/exec-node-timeout-not-working-in-exec-mode/28040
and is a possible workaround for most issues related to kill described there.
This has only been tested on linux where this change applies so it would most definitely need more testing on windows/mac and maybe linux distributions where there is no bash(?).
@jsf-clabot
Copy link

jsf-clabot commented Jun 10, 2020

CLA assistant check
All committers have signed the CLA.

@coveralls
Copy link

coveralls commented Jun 10, 2020

Coverage Status

Coverage increased (+0.006%) to 77.557% when pulling d9548a2 on johanneskropf:patch-1 into c6c4274 on node-red:master.

@knolleary knolleary merged commit 708620f into node-red:master Jun 16, 2020
@johanneskropf johanneskropf deleted the patch-1 branch June 16, 2020 13:49
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

5 participants