On 25.04.2007 17:43, Bjöòn Paetzel wrote: > Wai Tsang schrieb: >> Does anyone know if it is possible to use bash instead of sh as the >> default shell when "system" is executed? > > System() should always call /bin/sh (on a POSIX compliant system), Where did you get that information from? > but > of course you could still have sh call bash, like this: > > system("bash java --version") Yes, of course. robert