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: child_process commands throw when pkg app try to call itself #90

Merged
merged 2 commits into from
Sep 17, 2024

Conversation

robertsLando
Copy link
Member

@robertsLando robertsLando commented Sep 17, 2024

Now in order to allow this you have to add PKG_EXECPATH env var set to "". Thanks to @edvald solution proposed here

Fixes #70

@robertsLando robertsLando merged commit e88d159 into main Sep 17, 2024
6 checks passed
@robertsLando robertsLando deleted the fix-process-fork branch September 17, 2024 15:13
Vylpes pushed a commit to Vylpes/random-bunny that referenced this pull request Oct 21, 2024
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [@yao-pkg/pkg](https://github.com/yao-pkg/pkg) | devDependencies | minor | [`5.13.0` -> `5.16.0`](https://renovatebot.com/diffs/npm/@yao-pkg%2fpkg/5.13.0/5.16.0) |

---

### Release Notes

<details>
<summary>yao-pkg/pkg (@&#8203;yao-pkg/pkg)</summary>

### [`v5.16.0`](https://github.com/yao-pkg/pkg/blob/HEAD/CHANGELOG.md#5160-2024-10-20)

[Compare Source](yao-pkg/pkg@v5.15.0...v5.16.0)

##### Features

-   bump fetch with node 22.10.0 and 20.18.0 support ([86d5f57](yao-pkg/pkg@86d5f57))

##### Code refactoring

-   remove `fs-extra` ([#&#8203;102](yao-pkg/pkg#102)) ([c726221](yao-pkg/pkg@c726221))
-   replace `chalk` with `picocolors` ([#&#8203;105](yao-pkg/pkg#105)) ([cba291e](yao-pkg/pkg@cba291e))
-   replace `globby` with `tinyglobby` ([#&#8203;103](yao-pkg/pkg#103)) ([99a2632](yao-pkg/pkg@99a2632))
-   replace `minimatch` with `picomatch` ([#&#8203;104](yao-pkg/pkg#104)) ([1838100](yao-pkg/pkg@1838100))

##### Chores

-   unpin dependencies ([#&#8203;106](yao-pkg/pkg#106)) ([ea94b03](yao-pkg/pkg@ea94b03))

##### Documentation

-   explain how to execute binary from snapshot ([db7f2c5](yao-pkg/pkg@db7f2c5))
-   explain how to use custom binaries ([18ed3cf](yao-pkg/pkg@18ed3cf))

### [`v5.15.0`](https://github.com/yao-pkg/pkg/blob/HEAD/CHANGELOG.md#5150-2024-09-20)

[Compare Source](yao-pkg/pkg@v5.14.2...v5.15.0)

##### Features

-   bump [@&#8203;yao-pkg/pkg-fetch](https://github.com/yao-pkg/pkg-fetch)[@&#8203;3](https://github.com/3).5.13 with nodejs 22.9.0 ([#&#8203;91](yao-pkg/pkg#91)) ([6ed5665](yao-pkg/pkg@6ed5665))

### [`v5.14.2`](https://github.com/yao-pkg/pkg/blob/HEAD/CHANGELOG.md#5142-2024-09-17)

[Compare Source](yao-pkg/pkg@v5.14.1...v5.14.2)

##### Bug Fixes

-   child_process commands throw when pkg app try to call itself ([#&#8203;90](yao-pkg/pkg#90)) ([e88d159](yao-pkg/pkg@e88d159))

### [`v5.14.1`](https://github.com/yao-pkg/pkg/blob/HEAD/CHANGELOG.md#5141-2024-09-17)

[Compare Source](yao-pkg/pkg@v5.14.0...v5.14.1)

##### Bug Fixes

-   bump pkg-fetch@3.5.12 with missing node22 macOS arm64 support ([4eea80c](yao-pkg/pkg@4eea80c))

### [`v5.14.0`](https://github.com/yao-pkg/pkg/blob/HEAD/CHANGELOG.md#5140-2024-09-10)

[Compare Source](yao-pkg/pkg@v5.13.0...v5.14.0)

##### Features

-   bump pkg-fetch@3.5.11 with nodejs 22 support (by [@&#8203;faulpeltz](https://github.com/faulpeltz)) ([1d8df70](yao-pkg/pkg@1d8df70))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC44MC4wIiwidXBkYXRlZEluVmVyIjoiMzguODAuMCIsInRhcmdldEJyYW5jaCI6ImRldmVsb3AiLCJsYWJlbHMiOlsidHlwZS9kZXBlbmRlbmNpZXMiXX0=-->

Reviewed-on: https://git.vylpes.xyz/RabbitLabs/random-bunny/pulls/232
Reviewed-by: Vylpes <ethan@vylpes.com>
Co-authored-by: Renovate Bot <renovate@vylpes.com>
Co-committed-by: Renovate Bot <renovate@vylpes.com>
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.

child_process.fork doesn't work
1 participant