2014-01-06, 00:33
Hi AddonScriptorDE,
I confirm that your hunch was correct: the script killed the window manager because we cannot use the 'wait' bash builtin to wait on processes not started by the current shell.
Hence I had to modify the script to run without the wait:
Now I have another issue with the NetfliXBMC add-on (where I only can hear the audio but the screen is black) but that's a problem for another day
Thanks for your support.
Cheers, Elisiano
I confirm that your hunch was correct: the script killed the window manager because we cannot use the 'wait' bash builtin to wait on processes not started by the current shell.
Hence I had to modify the script to run without the wait:
Code:
#!/bin/bash
WINDOW_MANAGER=openbox
BROWSER=chrome
if ! pidof $WINDOW_MANAGER;
then
$WINDOW_MANAGER &
fi
sleep 30
while pidof $BROWSER >/dev/null;
do
sleep 10
done
kill %1
Now I have another issue with the NetfliXBMC add-on (where I only can hear the audio but the screen is black) but that's a problem for another day
Thanks for your support.
Cheers, Elisiano