help with exec in glade



i need help desperately with the following problem

i have a  executable binary file which can be executed from command line with a few command line arguments

it executes perfectly from command line

i created a interface using glade to obtain the values of these parameters from the application user. on clicking a button OK the values entered in the interface are passed to and stored as some variables.

i need to execute the binary file with these arguments
from within the interface itself

i tried using
exec ("file-path-name", "arg1, arg2,..") in callbacks.c
it doesnt execute

can i use exec in this case? or is it some other func/syscall?
if yes which file do i add the "exec"command to ? is it main.c or is it callbacks.c or someother file

please help

waiting for ur quick replies
thanx
sap



Do You Yahoo!?
Yahoo! Greetings - Send FREE e-cards for every occasion!

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]