Hi there,

I want to the run the following linux command through a gradle task:

bteq < install.sql

I can successfully invoke the bteq tool via command line with the task
below, but I am struggling with how to simulate the '<' redirection.

task coreBuildDatabase( type: Exec ) {
    commandLine = ['bteq']
}

Does anyone have any ideas?

Thanks,

Andrew.

--
View this message in context: 
http://gradle.1045684.n5.nabble.com/Execute-command-line-tool-tp4761780p4761780.html
Sent from the gradle-user mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to