Skip to content

Commit 87c917f

Browse files
committed
Extra information on exec
1 parent 4a335c4 commit 87c917f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

child-processes/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Typically, `spawn` is more suitable for long-running process with large outputs.
3131

3232
## A Simple `exec`
3333

34-
In this example, we will call the `ls` command to listwith the optional param `-l` to show a long list of details.
34+
The `exec` method allows us to spawns a shell to execute another process, such as an executable script or another Node script. In this example, we will call the `ls` command to list files in the current directoy, with the optional param `-l` to show a long list of details.
3535

3636
<div class="repl-code">
3737

0 commit comments

Comments
 (0)