I want to call a C exe from a Java code and want to pass an input file to that C exe as well.
I can call an exe through this code (without any input file)
Process myProcess = Runtime.getRuntime().exec("my.exe");
But I dont know, how to call my.exe with the input file "myfile.txt".
Thanks for the help.