Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions resources/views/docs/1/digging-deeper/child-processes.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,6 @@ ChildProcess::start(
);
```

**The only way to stop a persistent process is for your application to quit.**

### PHP scripts

For your convenience, NativePHP provides a simple method to execute PHP scripts in the background using NativePHP's packaged PHP binary:
Expand Down Expand Up @@ -191,8 +189,7 @@ ChildProcess::stop('tail');
This will attempt to stop the process gracefully. The [`ProcessExited`](#codeprocessexitedcode) event will be
dispatched if the process exits.

Note that [persistent processes](/docs/1/digging-deeper/child-process#persistent-processes) will restart even when you
stop them manually. The only way to stop a persistent process is by quitting the application.
Note that [persistent processes](/docs/1/digging-deeper/child-process#persistent-processes) will be permanently stopped and will only be restarted when the `start` method is called again. If you want to restart a persistent process, use the `restart` method instead.

## Restarting a Child Process

Expand Down