A graphical Macintosh application does not usually have a console/terminal window.
You can achieve this by supplying the keyword argument console :input when delivering your application.
:input