Ant run command with pipes

后端 未结 6 881
温柔的废话
温柔的废话 2020-12-13 19:25

I must to implement command : java -jar test.jar page.xml | mysql -u user -p base in ant. So i Have tried with this task:



        
6条回答
  •  时光说笑
    2020-12-13 20:08

    I don't know if this was ever resolved, but I was having a similar problem which I solved by using the following:

    
        
        
    
    

    Just thought I would share.

提交回复
热议问题