会员
周边
新闻
博问
闪存
众包
赞助商
YouClaw
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Loading
SukeBan'Blogs
博客园
首页
新随笔
联系
订阅
管理
2021年12月21日
ArchLinux系统 .NET6 在C#中使用System.Diagnostics.Process 调用python脚本
摘要: 此方法需要在运行脚本的电脑上安装好python环境 1. 核心实现代码 使用Process 在shell中执行命令行 调用py文件 var process = new Process(); //命令参数 var args = new string[]{"-u", ""} //py 文件路径 可以使用
阅读全文
posted @ 2021-12-21 18:24 SukeBan
阅读(497)
评论(0)
推荐(0)
公告