有没有什么方法可以在C#.net中使用perl包 [英] Is there any method we can use perl packages in C#.net

查看:80
本文介绍了有没有什么方法可以在C#.net中使用perl包的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



我很想知道是否有任何方法可以在c#.net中使用Perl软件包。



期待听到您的想法。



提前致谢!



热烈的问候,

Himanshu

Hi Everyone,

I am just curious to know is there any method through which we can use "Perl packages" in c#.net.

Look forward to hear your thoughts.

Thanks in advance!

Warm regards,
Himanshu

推荐答案

您实际上可以将perl程序作为单独的进程启动,例如

You can actually launch the perl program as a separate process for e.g.
Process myProcess = new Process();
ProcessStartInfo myProcessStartInfo = new ProcessStartInfo("perl.exe");
myProcessStartInfo.Arguments = "script.pl";
myProcessStartInfo.UseShellExecute = false;
myProcessStartInfo.RedirectStandardOutput = true;
myProcess.StartInfo = myProcessStartInfo;


这篇关于有没有什么方法可以在C#.net中使用perl包的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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