@@ -1091,16 +1091,27 @@ sub Read {
1091
1091
1092
1092
=over 4
1093
1093
1094
- =item Wait ()
1094
+ =item Wait ( [ CONFIGURATIONS ] )
1095
1095
1096
1096
This method calls the C<Check() > method continuously for a started process
1097
1097
which was started with the C<Launch() > method until the C<Check() > method tells that
1098
1098
the process is finished.
1099
1099
1100
- If a C<TIMEOUT > is set through the C< setTimeout() > method the B<Manager Process > will
1101
- terminate the process after the C<TIMEOUT > is fulfilled.
1100
+ If a C<TIMEOUT > is set the B<Manager Process > will terminate the process with
1101
+ the C< Terminate() > method after the C<TIMEOUT > is fulfilled.
1102
1102
When a process times out an B<Error Code > of C< 4 > will be set.
1103
1103
1104
+ B<Parameters: >
1105
+
1106
+ C<CONFIGURATIONS > - is a list are passed in a hash like fashion, using key and value pairs.
1107
+
1108
+ B<Recognized Configurations: >
1109
+
1110
+ C<check > - is an integer that specifies the interval in which all processes should
1111
+ be checked once.
1112
+
1113
+ C<timeout > - is an integer that specifies the maximal execution time in seconds.
1114
+
1104
1115
B<Returns: > It returns C< 1 > when the process has finished correctly.
1105
1116
It returns C< 0 > when the process had to be terminated.
1106
1117
@@ -1197,17 +1208,28 @@ sub Wait {
1197
1208
1198
1209
=over 4
1199
1210
1200
- =item Run ()
1211
+ =item Run ( [ CONFIGURATIONS ] )
1201
1212
1202
1213
This method starts the process calling the C<Launch() > method and then calls
1203
1214
the C<Wait() > method to wait until the process is finished.
1204
1215
1216
+ B<Parameters: >
1217
+
1218
+ C<CONFIGURATIONS > - is a list are passed in a hash like fashion, using key and value pairs.
1219
+
1220
+ B<Recognized Configurations: >
1221
+
1222
+ C<check > - is an integer that specifies the interval in which all processes should
1223
+ be checked once.
1224
+
1225
+ C<timeout > - is an integer that specifies the maximal execution time in seconds.
1226
+
1205
1227
B<Returns: > It returns C< 1 > when the process was started and finished correctly.
1206
1228
It returns C< 0 > when the process could not be started or had to be terminated.
1207
1229
1208
1230
See L<Method C<Launch()> |/"Launch ()">
1209
1231
1210
- See L<Method C<Wait()> |/"Wait ()">
1232
+ See L<Method C<Wait()> |/"Wait ( [ CONFIGURATIONS ] )">
1211
1233
1212
1234
=back
1213
1235
0 commit comments