Page MenuHomePhabricator
Paste P1744

Masterwork From Distant Lands
ActivePublic

Authored by avivey on Mar 30 2015, 4:58 PM.
Tags
None
Referenced Files
F354127: Masterwork_From_Distant_Lands
Mar 30 2015, 5:07 PM
F354124: Masterwork_From_Distant_Lands
Mar 30 2015, 5:01 PM
F354123: Masterwork_From_Distant_Lands
Mar 30 2015, 5:01 PM
F354120: Masterwork_From_Distant_Lands
Mar 30 2015, 4:58 PM
Subscribers
None
#!/usr/bin/env php
<?php
require_once dirname(__FILE__).'/arcanist/scripts/__init_script__.php';
function resolveBinary2($binary) {
$e1 = new ExecFuture('which git');
echo "build1\n";
$r1 = $e1->resolve();
echo "run1\n";
$e2 = new ExecFuture('which %s', 'git');
echo "build2\n";
$r2 = $e2->resolve();
echo "run2\n";
}
echo resolveBinary2('git');
echo "\n";

Event Timeline

avivey changed the title of this paste from untitled to Masterwork From Distant Lands.
avivey updated the paste's language from autodetect to autodetect.
avivey edited the content of this paste. (Show Details)
avivey changed the edit policy from "All Users" to "avivey (Aviv Eyal)".Feb 24 2016, 12:40 AM