does anyone know how to get a specific programs process id? i know this isnt directly related to arduino but i need to get a programs process id for gobetwino. thanks.
ps -al
what?
Forget it - didn't realise gobetwino was Windoze only.
What about the Windoze task manager?
BTW, that would be "which ps" (returns "/bin/ps"), not "what".
where n windows task manager?
is it the process name?
Google can help
When you start Task Manager, process id is not one of the values typically shown. Use the View + Select columns... menu item to display a panel containing the names of columns that can be shown.
Select PID (Process Identifier).
Then, along with the process name you will see the process id for that process.
GoBetwino does not use Windows process id's it uses it's own.
If you check the How to use GoBetwino sample code, the first example
(GoBetwinoXLtest.pde) show you how to start a program on the PC with the SPRID command, which returns the proces Id you need to use the SENDK command.
PS -a
that's a typical Unix Admin response
Use Powershell and the "get-process" command on windoze
thats "get-process PROCESSNAME"
replace processname with the process your after
ex> get-process svchost
SPRID seems to be the betwino's ID as posted....
SPRID = StartProgramReturnID
k thanks. ;D