help needed urgently



hello,

i m new to gtk programming and now in big trouble. i m using the following function to pass parameters

void okpressed()
{
  char *ent1 = "111.111.111.1";
  char *ent2 = "512";
  char command[3];
  command[0] = ent1;
  command[1] = ent2;
  system("./script command");
}
here i m actually calling a script. the same function is executed if values are sent to it directly.
plz help me.

regards
nilesh


__________________________________________________________
Give your Company an email address like
ravi @ ravi-exports.com.  Sign up for Rediffmail Pro today!
Know more. http://www.rediffmailpro.com/signup/




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