Relative Content

Tag Archive for c#.netwpfcmdcommand-line

Is there a way to attach to calling CMD from your .NET application?

so I’ve been working on making it possible to run a .NET WPF application from command line with arguments passed in that make it possible for it to do some basic tasks in the background.
I have separate logging for the application and that works fine, but I was wondering if there is any way I can log directly to the command line that launched it, be it CMD or PowerShell ?