Re: Rexec task for bash command in ant script

2008-01-24 Thread Chuck Holzwarth
bash is an interactive command interpreter. cd, pwd etc. are commands that allow input then do their jobs and exit. You can issue "bash " to execute the commands in the command_file and exit, but bash on its own will start an interactive shell that then waits for input. Swati Gaikwad <[EMAIL PR

Rexec task for bash command in ant script

2008-01-23 Thread Swati Gaikwad
Hello, I am using the rexec task of ant. I could successfully run the commands (ls, cd, pwd, etc) to the remote machine using rexec task of ant. When I try to run the bash command, rexec hangs. The rexec task I tried is as follows: Can I have a solution for this? Please let me kn