Hye, I'm looking for a way to log off a user in windows XP through a ruby script. The script is a windows service running with ruby win32/service package. I was not able to find any win32 module handling this functionnality, so perhaps I should rely on a complex method, but first I ask this coooool list for some cooool advice ! Romuald du Song
on 2006-06-11 21:31
on 2006-06-11 21:41
Don't know if it helps: system('logoff'); ./alex -- .w( the_mindstorm )p.
on 2006-06-13 11:35
Thanks. It's an obvious solution. I've forgotten to rely on system commands !