Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F159444
server.php
No One
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Authored By
epriestley
May 23 2014, 8:15 PM
2014-05-23 20:15:47 (UTC+0)
Size
508 B
Referenced Files
None
Subscribers
None
server.php
View Options
#!/usr/bin/env php
<?php
$root
=
dirname
(
dirname
(
dirname
(
__FILE__
)));
require_once
$root
.
'/scripts/__init_script__.php'
;
$args
=
new
PhutilArgumentParser
(
$argv
);
$args
->
setTagline
(
'test console logging'
);
$args
->
setSynopsis
(
<<<EOHELP
**server.php** __options__
Test console logging.
EOHELP
);
$args
->
parseStandardArguments
();
$args
->
parse
(
array
());
$future
=
new
ExecFuture
(
'php -f stderr.php -- --recon'
);
$server
=
new
PhutilConsoleServer
();
$server
->
addExecFutureClient
(
$future
);
$server
->
run
();
File Metadata
Details
Attached
Mime Type
text/plain; charset=utf-8
Storage Engine
amazon-s3
Storage Format
Raw Data
Storage Handle
phabricator/di/44/6hzn4lluyxr6un2l
Default Alt Text
server.php (508 B)
Attached To
Mode
P1161 server.php
Attached
Detach File
Event Timeline
Log In to Comment