I have never used System();

Have you tried:

`/usr/local/mnogosearch/sbin/indexer -i -u http://whatever/`;
?

Notice they are NOT ' (apostrophe), they are the ACCENT, `....

> -----Original Message-----
> From: Arturo [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, December 05, 2000 12:30 AM
> To: [EMAIL PROTECTED]
> Subject: UdmSearch: some question ...
> 
> 
> 
> Hello there,
> 
> I know this is not a Perl discussion list but if somebody knows Perl I
> would be very grateful if you help me to resolve this problem.
> 
> I want to execute the following command line in a Perl program
>  
> system ("date >output_file &") && die "error";
> 
> ... but nothing happens.
> 
> Actually the previous example was just a test I wanted to do because I
> intend to execute the following command line within a Perl program:
> 
> ./indexer -i -u http://132.248.104.19/~artus/archiv_datos.html
> 
> instead of sending the output to a file how can I execute this command
> line in a Perl program, using the 'system' operator which I suposse is
> the best way to do it . Is it necessary to use some Library ?? 
>  
> 
> Thanks a lot, Arturo Pulido
> 
> P.D. Of course this is just an example.  Actually I want to substitute
> 'archiv_datos.pl' by a variable in order to automate the 
> indexing process.
> 
> 
> ______________
> If you want to unsubscribe send "unsubscribe udmsearch"
> to [EMAIL PROTECTED]
> 
______________
If you want to unsubscribe send "unsubscribe udmsearch"
to [EMAIL PROTECTED]

Reply via email to