hello folks. I m trying to call an exe from java code.
public void MyClass{
public void run(){
Runtime rt = new Runtime ().getruntime();
Process p = rt.exec("c:\mylexicalanalyser.exe < SampleInput.txt ");
//
}
.
.
p s v m(){
new MyClass();
}
}
mylexicalanalyser.exe was created by flex utility for windows.
mylexicalanalyser.exe runs in the background (Task Manager) but does not seem to analyze the input file(SampleInput.txt).
Please help.:confused: