As the title says, I'd like to get informed when a new process starts. Here's my current code, but I've got no idea why it isn't working. Theoritically it should work.
#include <Array.au3>
$base = ProcessList()
$open = FileOpen(@ScriptDir & "\ProcLog.log", 1)
$Size = UBound($base) - 1
$new = 0
While 1
$proc = ProcessList()
$procS = UBound($base) - 1
For $i = 1 To UBound($procS) - 1
_ArraySearch($base, $proc[$i][1])
If @error Then
FileWrite($open, ">>> New proces