You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@buildr.apache.org by Ingo Schmidt <an...@der-ingo.de> on 2008/07/18 10:51:40 UTC

buildr from DOS batch files

Hi all!

I am trying to run buildr from DOS batch files. I have created a very simple file:
test.bat:
buildr -version
buildr -version


It only runs buildr once instead of twice. Any DOS file quits if buildr exits. This is very annoying. Any idea why this is and how I can avoid this?


Cheers, Ingo =;->

Re: buildr from DOS batch files

Posted by Ingo Schmidt <an...@der-ingo.de>.
Hi!

> If I remember correctly you need to use call for that:
> call buildr -version

Thank you, that is the solution!


Cheers, Ingo =;->


Re: buildr from DOS batch files

Posted by Assaf Arkin <ar...@intalio.com>.
On Fri, Jul 18, 2008 at 1:51 AM, Ingo Schmidt <an...@der-ingo.de> wrote:

> Hi all!
>
> I am trying to run buildr from DOS batch files. I have created a very
> simple file:
> test.bat:
> buildr -version
> buildr -version
>
>
> It only runs buildr once instead of twice. Any DOS file quits if buildr
> exits. This is very annoying. Any idea why this is and how I can avoid this?


If I remember correctly you need to use call for that:
call buildr -version

Assaf


>
>
>
> Cheers, Ingo =;->
>