Several tasks are being created

Hi there!

I’m using Hangfire Pro and I’m trying to create a job that executes a simple application (.exe).

My code is:

BackgroundJob.Enqueue(() => System.Diagnostics.Process.Start("notepad.exe"));

The problem is that the application (notepad.exe, in this case) is being executed, but a lot of times, indefinitely… And the job status remains “Processing”.

Is this a bug?

Thanks,
Romeu