+
+if ( isset( $options['procs'] ) ) {
+ $procs = intval( $options['procs'] );
+ if ( $procs < 1 || $procs > 1000 ) {
+ echo "Invalid argument to --procs\n";
+ exit( 1 );
+ }
+ $fc = new ForkController( $procs );
+ if ( $fc->start( $procs ) != 'child' ) {
+ exit( 0 );
+ }
+}