Pipeline malfunction on Azure

I have an outdated application that I am trying to run under an Azure worker. The application uses a fairly common template to start a child process, creating an anonymous channel, redirecting stdout to the channel, creating the child process, and then using the channel for communication.

To run it under Azure, I make a P / Invoke call for the DLL that launches this whole process.

All this works fine outside of Azure, but it doesnโ€™t work even when working under the emulator.

When launched under Azure, procs cannot communicate through the channel. In particular, the call to read the descriptor into the channel by the parent is not performed (timeout).

+3
source share
2 answers

- , , stdout .

Azure, GetStdHandle STDOUT 0x0. : " , STDOUT". -, 0x0 INVALID_HANDLE.

, STARTUPINFO , .

+2

, :

  • , .net 4? .net 4 , P/Invoking, .net 3.5.
  • SYSTEM EXE ProgramEntryPoint CSDEF, . - IP/ ? , onStart() .

, .

-1

All Articles