I am trying to execute cleartool commands from batch script using Java ProcessBuilder but it is getting stuck at rebase command 
[startview command is executed successfully (ERRORLEVEL = 0)]
When I try using Runtime.exec with command array [{"cleartool.exe","<startview command>"}], it says 
cleartool Error: unrecognized command startview
Does anyone know how to fix it?