[ 
https://issues.apache.org/jira/browse/GROOVY-8714?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Thulsi Doss Krishnan updated GROOVY-8714:
-----------------------------------------

closed

> using process builder in groovy
> -------------------------------
>
>                 Key: GROOVY-8714
>                 URL: https://issues.apache.org/jira/browse/GROOVY-8714
>             Project: Groovy
>          Issue Type: Question
>          Components: groovy-jdk
>    Affects Versions: 2.5.1
>            Reporter: Thulsi Doss Krishnan
>            Priority: Minor
>
> Im trying to use the following lines of code found at 
> https://github.com/tthyer/samples/blob/master/groovyProcesses/passEnvVar.groovy
> to run the following piece of code
> def currentPathToLoader="C:/loader/bin/loader.cmd"
> def pathToCsv="C://loader//bin//inputs//loader_test.csv"
> Runtime rt = Runtime.getRuntime()
> String[] commands =["cmd", "/c", "C://loader//bin//loader.cmd", 
> "-Dbase.dir=%cd% -writedbonly -verbose -time -insert -TimeSeriesBackfill 1 
> inputs/loader_test.csv"]
> Process pr = rt.exec(commands)
> how ever Im unable to do so ? any help would be appreciated



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to