Skip to content

Commit 6b012b3

Browse files
authored
Updated child-processes.md (#58)
1 parent 4c75e17 commit 6b012b3

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

resources/views/docs/1/digging-deeper/child-processes.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,6 @@ ChildProcess::start(
131131
);
132132
```
133133

134-
**The only way to stop a persistent process is for your application to quit.**
135-
136134
### PHP scripts
137135

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

194-
Note that [persistent processes](/docs/1/digging-deeper/child-process#persistent-processes) will restart even when you
195-
stop them manually. The only way to stop a persistent process is by quitting the application.
192+
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.
196193

197194
## Restarting a Child Process
198195

0 commit comments

Comments
 (0)