66 |
67 |
74 |
75 |
76 | - multiexec(1)
77 |
78 | - multiexec(1)
79 |
80 |
81 |
NAME
82 |
83 | multiexec
- run 2 or more commands in parallel
84 |
85 |
86 |
SYNOPSIS
87 |
88 |
multiexec
command1 [command2] [commandN ...]
89 |
90 |
DESCRIPTION
91 |
92 |
It runs two or more commands in parallel.
93 |
94 |
When one of the subprocesses exits with an error code, all the subprocesses will be terminated.
95 |
96 |
OPTIONS
97 |
98 |
99 | commandN
- A command to be executed, including its arguments. This command will be passed onto
sh -c
, and so it will be shell-separated as needed.
100 |
101 |
102 |
103 |
EXAMPLE
104 |
105 |
If you dev environment has multiple processes running together, you can use multiexec
to run them both under one process. In this example, we'll run Rails's development server with Guard.
106 |
107 |
multiexec "bundle exec rails s" "bundle exec guard"
108 |
109 |
110 |
111 |
116 |
117 |
118 |
119 |
120 |
--------------------------------------------------------------------------------
/man/multiexec.1.md:
--------------------------------------------------------------------------------
1 | # multiexec(1) -- run 2 or more commands in parallel
2 |
3 | ## SYNOPSIS
4 |
5 | `multiexec`