Skip to content

[Process] Process doesn't start if calling script terminates to quickly #7237

Closed
@jeffreymb

Description

@jeffreymb

I am attempting to use the Process component to spaw a second (long running) process. I use ProcessBuilder to create the process, then call $process->start(). The process will only actually execute if I make my calling script sleep(1). If it terminates immediately, the new process will not execute.

Is there a way to solve this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions