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

fix(build): Resolve bad invocation shell #8

Merged
merged 1 commit into from
May 16, 2024

Conversation

mitsuki31
Copy link
Owner

@mitsuki31 mitsuki31 commented May 16, 2024

Summary

Before, during the building procedure, there was a problem with the invocation shell in the child process that used child_process.spawn. In Windows, this resulted in the process issuing an ENOENT error since the command was not recognized. However, with this modification, we resolved the issue and it now functions correctly in Windows by activating the shell option within the options argument (3rd argument) of the spawn function.

Note

Tested in PowerShell and MSYS2 MinTTY. This change are exclusively to Windows users and developers.

Before, during the building procedure, there was a problem with the invocation shell in the child process that used `child_process.spawn`. In Windows, this resulted in the process issuing an ENOENT error since the command was not recognized. However, with this modification, we resolved the issue and it now functions correctly in Windows by activating the `shell` option within the options argument (3rd argument) of the `spawn` function.

Note:
Tested in PowerShell and MSYS2 MinTTY. This change are exclusively to Windows users and developers.
@mitsuki31 mitsuki31 added patch Patch changes (e.g., hotfix bugs and issues) bugfix Bug or issue fixes labels May 16, 2024
@mitsuki31 mitsuki31 self-assigned this May 16, 2024
@mitsuki31 mitsuki31 merged commit 79fcdf2 into master May 16, 2024
3 checks passed
@mitsuki31 mitsuki31 deleted the fix/resolve-build-process-in-windows branch May 17, 2024 06:45
@mitsuki31 mitsuki31 changed the title fix(build): Resolve bad shell invocation shell fix(build): Resolve bad invocation shell May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix Bug or issue fixes patch Patch changes (e.g., hotfix bugs and issues)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant