简体   繁体   中英

Run console app from Windows XAML app

How can i run hidden console application with parameters from universal windows application (VS2017), and redirect it's output into textblock/textblock?

I've found many examples with Process, but looks like all this examples written for console applications running another console applications.

In detail: this is UNIVERSAL WINDOWS APPLICATION, not standart or wpf app, there is no such element as Process and i can't add this from using. UWP just does not has this in libraries.

I want to know is there any way to comunicate with another process (console process) from UWP app.

From @Alejandro: Windows 10 tablet programs doesn't support the Process object, and have severely limited capabilities. See this for some (nasty) workarounds: stackoverflow.com/q/33925096/2557263

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM