从Dragonboard上部署的UWP应用程序中使用的exe(Windows表单应用程序)执行powershell命令 [英] Execute powershell commands from an exe(Windows form application) used in UWP app deployed on Dragonboard

查看:135
本文介绍了从Dragonboard上部署的UWP应用程序中使用的exe(Windows表单应用程序)执行powershell命令的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,


我创建了一个执行powershell命令的exe(控制台应用程序)。我将在UWP中使用此exe,因为我想在dragonboard上执行powershell命令,我将部署我的UWP应用程序。要启动此exe,我正在使用  ProcessLauncher
api


当我在PC上运行该exe时,exe工作正常。


Exe不是使用此API我总是返回退出代码  3762504530。


有人可以帮忙吗?

解决方案

< blockquote>

基本上  IoT Core是一个以UWP为中心的操作系统,UWP应用程序是它的主要应用程序类型。


原生Win32(C ++)是唯一支持非uwp的应用程序


文档告诉您更多信息 https://developer.microsoft。 COM / EN-US /窗/ IOT /文档/ buildingappsforiotcore


Hello,

I have created an exe(Console application) that executes powershell commands. I am going to use this exe in UWP because I want to execute powershell commands on the dragonboard where I will be deploying my UWP app. To launch this exe I am using ProcessLauncher api

Exe works fine when I run that exe on pc.

Exe is not working with this API I am always returned with an Exit code 3762504530.

Can anybody please help?

解决方案

basically IoT Core is a UWP centric OS and UWP apps are its primary app type.

native Win32 (C++) are the only non-uwp supported apps

the documentation tells you more https://developer.microsoft.com/en-us/windows/iot/docs/buildingappsforiotcore


这篇关于从Dragonboard上部署的UWP应用程序中使用的exe(Windows表单应用程序)执行powershell命令的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆