Blog Logo
TAGS

Tmds.ExecFunction

Tmds.ExecFunction is a library that makes it simple to execute a function in a separate process. This can be interesting for writing tests that require a separate process, or running some code with a different lifetime as the .NET application process. The library is based on the corefx RemoteExecutorTestBase class. Supported platforms: This library supports .NET Core 2.0+ on Windows, Linux, and macOS. Usage: The main method of the library is ExecFunction.Run. It accepts a delegate that is the function to execute in the remote process. The function can have the same signature of a .NET Main: a void/string[] argument, and a void/int/Task/Task return type.