system command in scratchbox



Hii All :

I want to know how shell executes the system () command in scratchbox
environment .Say my Test code is :

int main ()
{
 system("gconftool-2 --dump /gconf/apps");
 return 0;
}

while compiling this code , its not listing the entries
under /gconf/apps  on console..

No error is reported , but shell is not running the system() command at
all..

Is there any PATH to be set or setting the /bin/sh .
Plz reply briefly.

Thanks in advance :)) 


-- 
Cheers:

Umang Gupta
GConf Module
Celunite Inc (www.celunite.com)
Pune,India




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