@@ 117-125 (lines=9) @@ | ||
114 | } |
|
115 | ||
116 | break; |
|
117 | case $command instanceof SynchronusProcessCommand: |
|
118 | $parsedCommand = $this->getParsedShellCommand($command); |
|
119 | $process = $this->environment->createProcess($parsedCommand); |
|
120 | $this->setProcessDefaults($process, $command); |
|
121 | $this->logSynchronousProcessStart($command, $index, $totalCount, $parsedCommand); |
|
122 | $this->runProcess($process); |
|
123 | $this->testProcessResultValid($process, $command); |
|
124 | ||
125 | break; |
|
126 | case $command instanceof DeferredProcessCommand: |
|
127 | $parsedCommand = $this->getParsedShellCommand($command); |
|
128 | $process = $this->environment->createProcess($parsedCommand); |
|
@@ 126-133 (lines=8) @@ | ||
123 | $this->testProcessResultValid($process, $command); |
|
124 | ||
125 | break; |
|
126 | case $command instanceof DeferredProcessCommand: |
|
127 | $parsedCommand = $this->getParsedShellCommand($command); |
|
128 | $process = $this->environment->createProcess($parsedCommand); |
|
129 | $this->setProcessDefaults($process, $command); |
|
130 | $this->logDeferedStart($command, $index, $totalCount, $parsedCommand); |
|
131 | $this->deferProcess($parsedCommand, $command, $process); |
|
132 | ||
133 | break; |
|
134 | case $command instanceof TemplateCommand: |
|
135 | $template = $command->createTemplate(); |
|
136 | $this->logTemplateStart($command, $index, $totalCount, $template); |