Mario Mucalo

Ramblings about software development. And more.

Kill a one-file Python process in C#

A recent project of mine involved starting and killing processes on Windows. Some of these were scripts written in Python compiled to one .exe file. We ran into some serious problems with killing these processes. I will post a rant here explaining what was happening and how we got around this. If you are interested in following this up, the … Read More Here

eval in C# – Roslyn (Microsoft CodeAnalysis CSharp Scripting NuGet Package)

Why did I need to evaluate code at runtime in C#? Recently I have been working on a project which required me to develop a decision maker. A decision maker is a system where you define a set of rules where each rule can evaluate the input parameters, and based on that provide an output. So, basically, a big if-then-else … Read More Here

You are currently offline