I hate questions with long text, but I could not get away from it.
I'm creating an application in Delphi XE5 that needs to use a Python script to execute a part of the process.
The way I'm doing at the moment the Delphi application calls an executable (my packaged Python script) and passes parameters via the command line, in response the Python script writes a file that is opened by the Delphi application.
For simpler situations this solution even passes, but as the complexity increases the little monster begins to show its claws. kkk
I've been researching and discovering named pipes that can be a solution to this communication. I did some Python tests for Python on Linux and it works great, but I need to run on Windows between Delphi and Python.
I just use Linux on all my machines and I have a VM with Win10 for Delphi and .NET development environment, as I said before, in Linux it was ball show, but in Windows the named pipe in> works differently.
I even managed to run my Python test for Python, but for Delphi it did not roll.
Does anyone have any examples of named pipes for Delphi?
Could be Delphi for Delphi myself, I turn to make Python work.