I am trying to add a Java from to a Visual Prolog generated executable by running it as a process.
I have used this answer to implement the process interaction. My Visual Prolog expects a number from the command line, it even validates it (whether it is a Prolog term or not), but when running from Java, it does not recognize input as valid. Are those scape chars turning my number into a string?
When I try to remove them, my Java program hungs and the Visual Prolog executable does not respond. I think it is like pressing the enter button.
\r is carriage return CR \n is linefeed LF
many textual protocols require you to use CR+LF and some require to recognize on LF.
It is like starting a newline in text in Windows