I am developing a program that should call an external program, but it needs to wait for its execution. This is done in C # (for which I am new, but have a lot of experience in C ++, Qt and C), and CreateProcess does not seem to be what I'm looking for (it starts the process and then forgets it, which I don’t need )
This is one of my first Windows projects (or at least only Windows and definitely only .NET), and I'm much more used to doing this for * nix, where I would use fork and then exec in child, then wait for the child to finish work. But I have no idea where to even start looking for something like that.
Oh, and I'm sure I'm stuck in .NET because I need read access to the registry to complete this project, and access to the .NET registry is absolutely amazing (in my opinion, I have nothing to compare it with).
Thank.
source
share