Escape spaces when registering the Perforce client spec

main
rockerest 11 years ago
parent dde9c309fd
commit 9ff0c767af

@ -287,7 +287,7 @@ class Perforce
public function connectClient() public function connectClient()
{ {
$p4CreateClientCommand = $this->generateP4Command('client -i < ' . $this->getP4ClientSpec()); $p4CreateClientCommand = $this->generateP4Command('client -i < ' . str_replace( " ", "\\ ", $this->getP4ClientSpec() ));
$this->executeCommand($p4CreateClientCommand); $this->executeCommand($p4CreateClientCommand);
} }

Loading…
Cancel
Save