microsoft / MSIX-PackageSupportFramework

The Package Support Framework (PSF) is a kit for applying compatibility fixes to packaged desktop applications.
MIT License
115 stars 57 forks source link

PsfLauncher for Console Program? #140

Open seanyen opened 4 years ago

seanyen commented 4 years ago

I have a software which consists of console programs that I want to package in MSIX and I am using windows.appExecutionAlias extension to make them visible to command prompt. And I also want to virtualize some file locations by FileRedirectionFixup to make it behave well in the MSIX container.

However, I noticed that PsfLauncher seems to be a desktop program and if I shim the console program by it, the standard I/O is no longer redirected to the original command prompt. Does anyone have experience the same situation? and hope I can get some pointers here.

a-gn commented 2 years ago

Same issue, we run a console application and it starts in a new shell in a new window. Could we add an option in config.json to run as a console application instead?