Skip to content

Suggestion: a flag for enabling propagation of the exit code #4

@aqjune

Description

@aqjune

Hi,

ledit does not propagate the exit code from the invoked process:

$ ledit ocaml
OCaml version 4.14.0
Enter #help;; for help.

# exit 1;;
$ echo $?
0

This behavior is different from the behavior of another line editing tool rlwrap:

$ rlwrap ocaml
OCaml version 4.14.0
Enter #help;; for help.

exit 1;;
$ echo $?
1

I think it would be nice if there is a commandline option in ledit that propagates the exit code of the process that was called. :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions