Capturing stdout on windows

View: New views
1 Messages — Rating Filter:   Alert me  

Capturing stdout on windows

by Ken Mankoff :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi List,

I'd like help capturing a wxpython application output (currently
printed to stdout) on Windows.

I've written a small wxpython GUI app that I run on Windows and Mac.
I call it from 4D like so:

> LAUNCH EXTERNAL PROCESS($appPath;$input;$output;$error)

On Mac anything that I print in python shows up in $output. This is
not happening on Windows. Any advice? I'd love to avoid doing
file-based I/O.

Thanks,

   -k.
**********************************************************************
Power, Speed, Scalability is 4D v11 SQL
Upgrade today!  http://store.4ddepot.com/

4th Dimension Internet Users Group (4D iNUG)
FAQ:    http://www.4D.com/support/faqnug.html
Unsub:  mailto:4D_Pub-Unsubscribe@...
Post: mailto:4D_Pub@...
Options: https://lists.4d.com/mailman/listinfo/4d_pub
**********************************************************************