Skip to content

Have a separate set of Lwt_process.pread that also return the process status #989

@bn-d

Description

@bn-d

Similar to #216 , but instead of handling the error for the user, return the status and let the user handle it.

ie

val pread : 
  command ->
  string Lwt.t * Unix.process_status Lwt.t

It will also be great to have some documentation around pread that says it will be raise exception on non-zero return.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    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