Page MenuHomePhabricator

D15675.id37767.diff
No OneTemporary

D15675.id37767.diff

diff --git a/src/xsprintf/PhutilCommandString.php b/src/xsprintf/PhutilCommandString.php
--- a/src/xsprintf/PhutilCommandString.php
+++ b/src/xsprintf/PhutilCommandString.php
@@ -11,7 +11,7 @@
public function __construct(array $argv) {
$this->argv = $argv;
- $this->escapingMode = self::MODE_DEFAULT;
+ $this->escapingMode = phutil_is_windows() ? self::MODE_POWERSHELL : self::MODE_DEFAULT;
// This makes sure we throw immediately if there are errors in the
// parameters.

File Metadata

Mime Type
text/plain
Expires
Tue, May 14, 2:25 PM (2 w, 5 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6295327
Default Alt Text
D15675.id37767.diff (502 B)

Event Timeline