Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F18086700
D10364.id24948.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
792 B
Referenced Files
None
Subscribers
None
D10364.id24948.diff
View Options
diff --git a/src/applications/drydock/interface/command/DrydockSSHCommandInterface.php b/src/applications/drydock/interface/command/DrydockSSHCommandInterface.php
--- a/src/applications/drydock/interface/command/DrydockSSHCommandInterface.php
+++ b/src/applications/drydock/interface/command/DrydockSSHCommandInterface.php
@@ -83,7 +83,7 @@
'ConnectTimeout='.$this->connectTimeout);
}
- return new ExecFuture(
+ $future = new ExecFuture(
'ssh '.
'-o StrictHostKeyChecking=no '.
'-o UserKnownHostsFile=/dev/null '.
@@ -95,5 +95,7 @@
$this->passphraseSSHKey->getUsernameEnvelope(),
$this->getConfig('host'),
$full_command);
+ $future->setPowershellXML($this->getConfig('platform') === 'windows');
+ return $future;
}
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Aug 6, 11:33 PM (3 w, 6 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
8810667
Default Alt Text
D10364.id24948.diff (792 B)
Attached To
Mode
D10364: Use `setPowershellXml` in libphutil to show Powershell output correctly
Attached
Detach File
Event Timeline
Log In to Comment