run windows command from bash with output to standard out?

Posted by Wayne on Stack Overflow See other posts from Stack Overflow or by Wayne
Published on 2010-03-30T10:02:39Z Indexed on 2010/03/30 10:03 UTC
Read the original article Hit count: 378

Filed under:
|
|
|
|

Folks, I'm using git tools such as git bisect run which need to call a command to build and test my project. My command to do is nant which is a windows program. Or a build.cmd script which calls nant.

It's easy to get the bash to call the nant build to run.

But the hard part is how to get the standard output written to a file?

I even installed the Windows PowerShell to try running a command from bash.

Again, it works but the standard output fill says "permission denied" when I try to read it while the build is going on.

© Stack Overflow or respective owner

Related posts about powershell

Related posts about Windows