Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

5
  • Can you check the contents of $?, $LASTEXITCODE?
    – criztovyl
    Commented Sep 9, 2022 at 17:15
  • PS C:\> $? False PS C:\> $LASTEXITCODE -1073741511 Commented Sep 9, 2022 at 17:51
  • searching around for that error number brought up stackoverflow.com/a/34140735, suggesting some dll might be missing in the container.
    – criztovyl
    Commented Sep 9, 2022 at 18:06
  • I think I found that GdiPlus.dll is missing from C:\Windows\SysWOW64\ in the container, will update again once I test. Commented Sep 9, 2022 at 18:27
  • @criztovyl Edited post with output, end of the original post Commented Sep 9, 2022 at 19:22