On Fri, 20 Mar 2015, Erik Quaeghebeur wrote:

Heinrich Schuchardt:

On Linux you can create a FIFO with mkfifo and pass the path to the
GLPK.

On Windows you can create a named pipe and use its path
(CreateNamedPipe).

Thanks for the idea. Sadly enough for my needs, Python does not provide
a unified interface for named pipes it seems, so a temporary files is
still better from the portability perspective.

If you are dead set against a temporary file
and have the documentation for your C,
you could create your own pseudo-FILE that simply read from the string.
It's probably not worth the effort.

--
Michael   henne...@web.cs.ndsu.nodak.edu
"SCSI is NOT magic. There are *fundamental technical
reasons* why it is necessary to sacrifice a young
goat to your SCSI chain now and then."   --   John Woods

_______________________________________________
Help-glpk mailing list
Help-glpk@gnu.org
https://lists.gnu.org/mailman/listinfo/help-glpk

Reply via email to