本文介绍了有没有什么方法可以在C#中使用perl包的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好, 我很想知道是否有任何方法可以在c#中使用Perl软件包。 期待听到您的想法。 提前致谢! 热烈的问候, Himanshu
Hi Everyone, I am just curious to know is there any method through which we can use "Perl packages" in c#. 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包
发布评论