|
|
I did look at that - the problem is portability. popen works on OSX and Linux, so if I get this to work, its easier to port.
I will revisit this later as someone suggested named pipes are much faster than piping to stdin as I am doing currently.
On Saturday, October 3, 2020 at 5:07:52 PM UTC+5:30 Ian MacArthur wrote:
Good, glad you found something that worked.
That said, if you are OK with using platform specific code, I do think you should look at Greg’s suggestion of using CreatePipe on Windows rather than the MS popen implementation, which can be “less good” sometimes...
Greg uses the popen/CreatePipe stuff in his work and knows what he’s talking about!
That should also get rid of the spurious console too, thus obviating the need for this hack at all!
--
You received this message because you are subscribed to the Google Groups "fltk.general" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkgeneral+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkgeneral/b8b15568-f1dc-4b36-bf6f-0a3c3fd63eden%40googlegroups.com.
[ Direct Link to Message ] | |
|
| |