Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2708295
bridge.cc
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
311 B
Referenced Files
None
Subscribers
None
bridge.cc
View Options
#include
"../include/bridge.h"
#include
"process.cc"
#include
<signal.h>
int64_t
stop
(
int64_t
pid
)
{
return
kill
(
pid
,
SIGTERM
);
}
int64_t
run
(
Str
name
,
Str
log_path
,
Str
command
)
{
process
::
Runner
runner
;
runner
.
New
(
std
::
string
(
name
),
std
::
string
(
log_path
));
return
runner
.
Run
(
std
::
string
(
command
));
}
File Metadata
Details
Attached
Mime Type
text/x-c
Expires
Sun, Feb 1, 9:28 PM (1 d, 20 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
491425
Default Alt Text
bridge.cc (311 B)
Attached To
Mode
rPMC Process Management Controller
Attached
Detach File
Event Timeline
Log In to Comment