You are not logged in.
Pages: 1
Hello everyone,
I'm making a Netflix box using the Netflix Desktop Application and Archlinux ARM, and I was wondering how it would be possible to send a shutdown signal when a program closes.
Offline
check for pid of the app and if unavailable, call shutdown
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
Thanks. Should I write that as it's own or can I do that in xinit or something like that?
Offline
No need for the pid if you want the whole session to be for this.
xinitrc:
VBoxSDL --whatevertheflagsare WinXPNetflixBox
shutdown
Or just wherever you start x, `xinit && shutdown`
Last edited by Trilby (2013-05-29 02:43:36)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Awesome. Thanks.
Offline
Pages: 1