Process.Kill might still return an IsNotFound error, even if it actually killed the process. We should wait for the process to finish in the first place. Otherwise, when querying the task's status, we might still see it running, resulting in an error. Signed-off-by: Claudiu Belu <cbelu@cloudbasesolutions.com>
6.6 KiB
6.6 KiB