When we try to execute simple Fastload script through Java in unix , it hangs . same when We tried executing it manually through fastload command "fastload < /temp/data/fastload.txt > /temp/data/fastload.log" it works fine.
I am facing a similar situation where we invoke fastload in a Java program using process builder on unix platform. We read inputStream and write to a log file. Also, using outPurStream we try to write script to fastLoad process. And then we wait for fastload process to finish. But it hangs waiting for fastload process.