reference/exec/functions/system.xml
0c9c2dd669fe9395eaa73d487fbd160f9057429a
...
...
@@ -10,9 +10,9 @@
10
10
<refsect1 role="description">
11
11
&reftitle.description;
12
12
<methodsynopsis>
13
-
<type>string</type><methodname>system</methodname>
13
+
<type class="union"><type>string</type><type>false</type></type><methodname>system</methodname>
14
14
<methodparam><type>string</type><parameter>command</parameter></methodparam>
15
-
<methodparam choice="opt"><type>int</type><parameter role="reference">return_var</parameter></methodparam>
15
+
<methodparam choice="opt"><type>int</type><parameter role="reference">result_code</parameter><initializer>&null;</initializer></methodparam>
16
16
</methodsynopsis>
17
17
<para>
18
18
<function>system</function> is just like the C version of the
...
...
@@ -44,10 +44,10 @@
44
44
</listitem>
45
45
</varlistentry>
46
46
<varlistentry>
47
-
<term><parameter>return_var</parameter></term>
47
+
<term><parameter>result_code</parameter></term>
48
48
<listitem>
49
49
<para>
50
-
If the <parameter>return_var</parameter> argument is present, then the
50
+
If the <parameter>result_code</parameter> argument is present, then the
51
51
return status of the executed command will be written to this
52
52
variable.
53
53
</para>
...
...
@@ -96,8 +96,6 @@ echo '
96
96
&reftitle.notes;
97
97
&warn.escapeshell;
98
98
&note.exec-bg;
99
-
&note.exec-path;
100
-
&warn.sm.exec;
101
99
</refsect1>
102
100

103
101
<refsect1 role="seealso">
...
...
@@ -114,7 +112,6 @@ echo '
114
112
</para>
115
113
</refsect1>
116
114
</refentry>
117
-

118
115
<!-- Keep this comment at the end of the file
119
116
Local variables:
120
117
mode: sgml
121
118