[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: [mv] how to call a program from minivend/perl ?
****** message to minivend-users from Sakari Ailus <sakari.ailus@nic.fi> ******
francis@chello.fr wrote:
>
> ****** message to minivend-users from francis@chello.fr ******
>
> hi,
> i would like to call a C program from my minivend pages to retrieve some informations.
> these informations are returned on standard output by the C program.
> I called it with the command exec or backstick under perl scripts,
> but the minivend security is too high and the only means I found to call my program from my minivend pages is the system command. And this perl command doesn't return the standard output as the other did.
I think you should use readpipe instead of system. See "man perlfunc"
for details.
--
Sakari Ailus
sakari.ailus@nic.fi
-
To unsubscribe from the list, DO NOT REPLY to this message. Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list