On Windows the Poly/ML executable creates a GUI window if it hasn't been given an output stream. If you redirect the output to a file or a pipe it won't create the window.

Hope that helps.
David

On 25/11/2024 13:09, Gergely Buday wrote:
Hi there,

it is possible to create a standalone script on Unices:

#!/home/user/polyml-5.9/bin/poly --script

print "Hello World!\n"

But the Windows executable creates a window. Is it possible to compile
a Poly/ML read-eval-print loop that I could start in a cmd window? My
goal would be to write standalone scripts for Windows.

- Gergely
_______________________________________________
polyml mailing list
polyml@inf.ed.ac.uk
http://lists.inf.ed.ac.uk/mailman/listinfo/polyml
_______________________________________________
polyml mailing list
polyml@inf.ed.ac.uk
http://lists.inf.ed.ac.uk/mailman/listinfo/polyml

Reply via email to