system command in scratchbox

Umang Gupta <[email protected]> Mon, 20 Aug 2007 18:40:13 +0530
Newsgroups gmane.comp.gnome.lib.gconf
Organization celunite
Message-ID <[email protected]>
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