You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: child-processes/index.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,7 +31,7 @@ Typically, `spawn` is more suitable for long-running process with large outputs.
31
31
32
32
## A Simple `exec`
33
33
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.
0 commit comments