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 spawnSync instead of execSync #884

Closed
wants to merge 2 commits into from
Closed

use spawnSync instead of execSync #884

wants to merge 2 commits into from

Conversation

bugsounet
Copy link

in Raspiberry pi with 32bit OS, there is no problem. This library works fine!

But with arm64 OS, i have Error: EFAULT write but the result is still displayed

I replaced execSync with spawnSync (part of child_process) and now no errors are displayed and result works too.

Tested on ubuntu: ok
Tested on Raspberry pi 4 arm64: ok
npm run test: ok

prevent EFAULT write on Raspberry pi arm64
@bugsounet
Copy link
Author

finaly not help really :/

@bugsounet bugsounet closed this Jan 20, 2024
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

1 participant