Page MenuHomePhabricator

D9493.id22747.diff
No OneTemporary

D9493.id22747.diff

diff --git a/src/filesystem/Filesystem.php b/src/filesystem/Filesystem.php
--- a/src/filesystem/Filesystem.php
+++ b/src/filesystem/Filesystem.php
@@ -906,6 +906,11 @@
*/
public static function resolveBinary($binary) {
if (phutil_is_windows()) {
+ // Check for local binary
+ if (Filesystem::PathExists($binary)) {
+ return $binary;
+ }
+
list($err, $stdout) = exec_manual('where %s', $binary);
$stdout = phutil_split_lines($stdout);
if (!$stdout) {

File Metadata

Mime Type
text/plain
Expires
May 27 2024, 1:31 PM (7 w, 5 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6309501
Default Alt Text
D9493.id22747.diff (506 B)

Event Timeline