Menu
  • HOME
  • TAGS

Can C# execution of Python script be done faster by re-using process?

c#,python,process,processstartinfo

It is possible to create a restful service in python, that receives a command or a script as a string, and executes it (using exec). This solution actually creates a remote python shell, which is much faster than creating a new process for every command. This can also help you...

& operator string error with string of arguments to processStartInfo

vb.net,operator-keyword,string-concatenation,processstartinfo

The problem is that the & operator in VB is used only to concatenate System.String objects. It's stricter than using + to concatenate. You can't use it to concatenate a String and a System.IO.FileInfo object together. What you want is to get the file name from the FileInfo object. It...