Skip to content

ibmi: execve issues #57882

Closed
Closed
@abmusse

Description

@abmusse

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

Originally posted by @targos in #57726 (comment)

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.

Originally posted by @abmusse #57726 (comment)_

Upon futher investigation execve is available but with some caveats on IBM i.
The underlying system call, checks if there are multiple threads running and won't allow it if there are. Since Node.js always has multiple threads running, you basically can't use it.

I think we should disable making it available like what is done on currently on Windows.

CC
@nodejs/platform-ibmi

Metadata

Metadata

Assignees

No one assigned

    Labels

    ibm iIssues and PRs related to the IBM i platform.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions