GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — doc: process.execve is only unavailable for Windows by thunder-coding · Pull Request #57726 · nodejs/node

Conversation

@thunder-coding

@thunder-coding thunder-coding commented Apr 2, 2025 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

execve() call is available on Android as well. When process.execve was first added, it seems like no one checked if that is actually available on Android as well and works out of the box as __POSIX__ is defined on Android. process.execve call seems to behave just as fine as on Linux environment in my testing, so just make the docs specify it.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@nodejs-github-bot nodejs-github-bot added doc Issues and PRs related to Node.js documentation. process Issues and PRs related to the process subsystem. labels Apr 2, 2025
ljharb
ljharb reviewed Apr 2, 2025
View reviewed changes
Comment thread doc/api/process.md Resolved

Uh oh!

There was an error while loading. Please reload this page.

@thunder-coding
doc: process.execve is only unavailable for Windows
8e6dd82
execve() call is available on Android as well. When process.execve was
first added, it seems like no one checked if that is actually available
on Android as well and works out of the box as __POSIX__ is defined on
Android. process.execve call seems to behave just as fine as on Linux
environment in my testing, so just make the docs specify it.
@thunder-coding
thunder-coding force-pushed the execve-android-doc branch from 7a188a2 to 8e6dd82 Compare April 2, 2025 03:13
@aduh95

aduh95 commented Apr 2, 2025

Copy link
Copy Markdown
Contributor

I guess Android is POSIX, it's listed as "Mostly POSIX-compliant" on https://en.wikipedia.org/wiki/POSIX#POSIX-oriented_operating_systems. Given that it seems to be possible to get POSIX for Windows, I wonder if we should keep mentioning POSIX 🤔

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@aduh95
aduh95 requested a review from ShogunPanda April 2, 2025 11:53
@targos

targos commented Apr 2, 2025

Copy link
Copy Markdown
Member

Also, I don't know if IBMI is POSIX but it doesn't support execve: https://ci.nodejs.org/job/node-test-commit-ibmi/nodes=ibmi74-ppc64/1883/#showFailuresLink

@nodejs/platform-ibmi

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@ShogunPanda

ShogunPanda commented Apr 2, 2025

Copy link
Copy Markdown
Contributor

@targos It seems the syscall exists but we get a EPERM error somehow.

https://ci.nodejs.org/job/node-test-commit-ibmi/nodes=ibmi74-ppc64/1883/testReport/junit/(root)/parallel/test_process_execve_permission_granted/

abmusse reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

ShogunPanda
ShogunPanda approved these changes Apr 2, 2025
View reviewed changes

@ShogunPanda ShogunPanda left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@aduh95 aduh95 added the author ready PRs with CI started, the required approvals, and no outstanding review comments. label Apr 2, 2025
@abmusse

abmusse commented Apr 2, 2025

Copy link
Copy Markdown
Contributor

Hi @targos I'm currently investigating why we are getting back EPERM error on IBM i for some reason, execve does exist and I tested it using a simple C program.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

marco-ippolito
marco-ippolito approved these changes Apr 3, 2025
View reviewed changes
@aduh95 aduh95 added the commit-queue PRs queued for automated landing through the Commit Queue. label Apr 3, 2025
@nodejs-github-bot nodejs-github-bot removed the commit-queue PRs queued for automated landing through the Commit Queue. label Apr 4, 2025
@nodejs-github-bot
nodejs-github-bot merged commit 78e2f99 into nodejs:main Apr 4, 2025
@nodejs-github-bot

nodejs-github-bot commented Apr 4, 2025

Copy link
Copy Markdown
Collaborator

Landed in 78e2f99

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@abmusse abmusse mentioned this pull request Apr 15, 2025
ibmi: execve issues #57882
Closed
RafaelGSS pushed a commit that referenced this pull request May 1, 2025
@thunder-coding @RafaelGSS
doc: process.execve is only unavailable for Windows
5d3106d
execve() call is available on Android as well. When process.execve was
first added, it seems like no one checked if that is actually available
on Android as well and works out of the box as __POSIX__ is defined on
Android. process.execve call seems to behave just as fine as on Linux
environment in my testing, so just make the docs specify it.

PR-URL: #57726
Reviewed-By: Paolo Insogna <[email protected]>
Reviewed-By: Marco Ippolito <[email protected]>
@RafaelGSS RafaelGSS mentioned this pull request May 1, 2025
2025-05-06, Version 24.0.0 (Current) #57609
Merged
RafaelGSS pushed a commit that referenced this pull request May 2, 2025
@thunder-coding @RafaelGSS
doc: process.execve is only unavailable for Windows
a8da209
execve() call is available on Android as well. When process.execve was
first added, it seems like no one checked if that is actually available
on Android as well and works out of the box as __POSIX__ is defined on
Android. process.execve call seems to behave just as fine as on Linux
environment in my testing, so just make the docs specify it.

PR-URL: #57726
Reviewed-By: Paolo Insogna <[email protected]>
Reviewed-By: Marco Ippolito <[email protected]>
aduh95 pushed a commit that referenced this pull request May 6, 2025
@thunder-coding @aduh95
doc: process.execve is only unavailable for Windows
a7724a7
execve() call is available on Android as well. When process.execve was
first added, it seems like no one checked if that is actually available
on Android as well and works out of the box as __POSIX__ is defined on
Android. process.execve call seems to behave just as fine as on Linux
environment in my testing, so just make the docs specify it.

PR-URL: #57726
Reviewed-By: Paolo Insogna <[email protected]>
Reviewed-By: Marco Ippolito <[email protected]>
RafaelGSS pushed a commit that referenced this pull request May 14, 2025
@thunder-coding @RafaelGSS
doc: process.execve is only unavailable for Windows
d341762
execve() call is available on Android as well. When process.execve was
first added, it seems like no one checked if that is actually available
on Android as well and works out of the box as __POSIX__ is defined on
Android. process.execve call seems to behave just as fine as on Linux
environment in my testing, so just make the docs specify it.

PR-URL: #57726
Reviewed-By: Paolo Insogna <[email protected]>
Reviewed-By: Marco Ippolito <[email protected]>
aduh95 pushed a commit that referenced this pull request May 17, 2025
@thunder-coding @aduh95
doc: process.execve is only unavailable for Windows
f6aa625
execve() call is available on Android as well. When process.execve was
first added, it seems like no one checked if that is actually available
on Android as well and works out of the box as __POSIX__ is defined on
Android. process.execve call seems to behave just as fine as on Linux
environment in my testing, so just make the docs specify it.

PR-URL: #57726
Reviewed-By: Paolo Insogna <[email protected]>
Reviewed-By: Marco Ippolito <[email protected]>
@github-actions github-actions Bot mentioned this pull request May 19, 2025
2025-05-21, Version 22.16.0 'Jod' (LTS) #58388
Merged
aduh95 pushed a commit that referenced this pull request May 19, 2025
@thunder-coding @aduh95
doc: process.execve is only unavailable for Windows
945f4ac
execve() call is available on Android as well. When process.execve was
first added, it seems like no one checked if that is actually available
on Android as well and works out of the box as __POSIX__ is defined on
Android. process.execve call seems to behave just as fine as on Linux
environment in my testing, so just make the docs specify it.

PR-URL: #57726
Reviewed-By: Paolo Insogna <[email protected]>
Reviewed-By: Marco Ippolito <[email protected]>
@ghost ghost mentioned this pull request Jun 8, 2025
### Notable Changes autofix-ci/action#28
Closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@ljharb ljharb ljharb left review comments
@ShogunPanda ShogunPanda ShogunPanda approved these changes
@marco-ippolito marco-ippolito marco-ippolito approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

author ready PRs with CI started, the required approvals, and no outstanding review comments. doc Issues and PRs related to Node.js documentation. process Issues and PRs related to the process subsystem.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

8 participants

@thunder-coding @aduh95 @targos @ShogunPanda @abmusse @nodejs-github-bot @ljharb @marco-ippolito
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.