Skip to content

pipe handling of Process::launch seems to be wrong  #344

Description

@MalteSchledjewski

I try to run a tool that uses TSCBasic.Process.checkNonZeroExit(arguments: arguments) in two threads. The called executable is the same but the arguments differ.

The second call errors with error: close error: Unknown error -1.
This comes from try close(fd: stdinPipe[0]) in Process::launch.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions