Skip to content

Feature request: option to pass nothing to JobSpawn() onExit callback #2818

@chykcha3

Description

@chykcha3

Description of the problem or steps to reproduce

Function shell.JobSpawn() provide support for omitting onStdout and onStderr arguments (using nil value), but does not provide the same for onExit.
It seems usable to call JobSpawn() without callback on exit, if you do not care when and how your job ends. Without this option it is necessary to create dummy function that does nothing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions