how do i check if a process is running, im making a program that starts "notepad" etc, if it aint allready open...

something like, if process("notepad") running then
----
else

run notepad

kinda thing