Uploaded image for project: 'Pentaho Data Integration - Kettle'
  1. Pentaho Data Integration - Kettle
  2. PDI-19285

Execute a Process step was not taking arguments from fields On Windows

    XMLWordPrintable

    Details

    • Story Points:
      0
    • PDI Sub-component:
    • Notice:
      When an issue is open, the "Fix Version/s" field conveys a target, not necessarily a commitment. When an issue is closed, the "Fix Version/s" field conveys the version that the issue was fixed in.
    • Operating System/s:
      Windows 10
    • Steps to Reproduce:
      Hide

      add generate rows to workspace and set up

      add process rows to WS and set up to use fields as args. check box

      run transformation

       

      Show
      add generate rows to workspace and set up add process rows to WS and set up to use fields as args. check box run transformation  
    • Release Version:
      9.3 GA

      Description

      system errors ;

      cannot run command "cmd /C dir /b/s/O:N" error=2

      the additional Fields + args from generate rows are dir-G:\ and filter-*.exe   with the command field being cmd : " cmd /C dir /b/s/O:N "

      the command it's self runs fine as long as the Arguments in Fields is NOT Checked

      I hacked a workaround/fix  into the source ( ExecProcess.java)  someone might want to look at

      but it works for that command and a couple others I tried as quick tests but I have no clue if it would work on other os's . 

       

       

        PractiTest Integration




          Attachments

          1. ExecProcess.java.dif
            1 kB
            David Marlow
          2. ExecProcess.java.Modified
            10 kB
            David Marlow
          3. ExecProcess java.ORIGINAL
            10 kB
            David Marlow
          4. ExecuteProcessWithArgsWorking.ktr
            18 kB
            David Marlow

            Activity

              People

              Assignee:
              project admin Triage
              Reporter:
              mxdog David Marlow
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: