🚸 Get full fully-escaped command

This commit is contained in:
Dan Jones 2022-09-10 23:19:18 -05:00
commit cb892134ca

View file

@ -125,7 +125,9 @@ class MappableMedia extends AbstractMediaType implements EventEmitterInterface
public function getFinalCommand(): string public function getFinalCommand(): string
{ {
return implode(' ', $this->buildCommand()); $proc = $this->driver->getProcessBuilderFactory()->create($this->buildCommand());
return $proc->getCommandLine();
} }
public function map(callable $callback = null): Map|static public function map(callable $callback = null): Map|static