Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2889570
PhageLocalAction.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
432 B
Referenced Files
None
Subscribers
None
PhageLocalAction.php
View Options
<?php
final
class
PhageLocalAction
extends
PhageAgentAction
{
protected
function
newAgentFuture
(
PhutilCommandString
$command
)
{
$arcanist_src
=
phutil_get_library_root
(
'arcanist'
)
;
$bin_dir
=
Filesystem
::
concatenatePaths
(
array
(
dirname
(
$arcanist_src
)
,
'bin'
,
)
)
;
$future
=
id
(
new
ExecFuture
(
'%s exec -- %C'
,
'./phage'
,
$command
)
)
->
setCWD
(
$bin_dir
)
;
return
$future
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sun, Jan 19, 12:21 (3 w, 4 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1116151
Default Alt Text
PhageLocalAction.php (432 B)
Attached To
Mode
rARC Arcanist
Attached
Detach File
Event Timeline
Log In to Comment