From: Robert Klemme Date: 2007-04-26T01:00:04+09:00 Subject: Re: Is it possible to make system use bash instead of sh? On 25.04.2007 17:43, Bj�rn 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