Page MenuHomePhabricator

omgwtfwindows.php

Authored By
hach-que
Apr 23 2014, 2:29 AM
Size
543 B
Referenced Files
None
Subscribers
None

omgwtfwindows.php

$xml_temp = Filesystem::readRandomCharacters(10).".args.xml";
file_put_contents($xml_temp, $xml_content);
$cover_engine = $this->coverEngine;
$bat_content = <<<EOF
"{$cover_engine}" analyse {$xml_temp}
EOF
;
$bat_temp = Filesystem::readRandomCharacters(10).".bat";
file_put_contents($bat_temp, $bat_content);
$future = new ExecFuture("%C", $bat_temp);
$future->setCWD(Filesystem::resolvePath($this->projectRoot));
return array(
$future,
$assembly_dir.DIRECTORY_SEPARATOR.$xunit_temp,
$cover_temp);

File Metadata

Mime Type
text/plain; charset=utf-8
Storage Engine
amazon-s3
Storage Format
Raw Data
Storage Handle
phabricator/3d/vm/tzyzultme3n5pojm
Default Alt Text
omgwtfwindows.php (543 B)

Event Timeline