ARSperl
view release on metacpan or search on metacpan
html/manual/ars_ExecuteProcess.html view on Meta::CPAN
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>
ARSperl Manual - ars_ExecuteProcess
</title>
<style type="text/css">
/*<![CDATA[*/
body {
background-color: #FFFFFF;
}
dt.c1 {font-weight: bold}
p.c1 {font-style: italic}
/*]]>*/
</style>
</head>
<body>
<h2>
<code>ars_ExecuteProcess(ctrl, command, runOption=0)</code>
</h2>Execute the given command on the server host as the user-id that the server process is
running as. Requires Administrator privs to use.
<table border="1" width="50%">
<tr>
<td>
<code>runOption</code>
</td>
<td>
Explanation
</td>
</tr>
<tr>
<td align="center">
0
</td>
<td>
Wait for process to complete and then returned the process' returnStatus and any output
that the process had.
</td>
</tr>
<tr>
<td align="center">
1
</td>
<td>
Don't wait for process to complete.
</td>
</tr>
</table><br />
<dl>
<dt class="c1">
On success
</dt>
<dd>
Depending upon the runOption specified returns a list of <code>returnStatus</code> and
<code>returnString</code> or <b>1</b>
</dd>
<dt class="c1">
On failure
</dt>
<dd>
( run in 0.778 second using v1.01-cache-2.11-cpan-3782747c604 )