summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetter Reinholdtsen <pere@hungry.com>2010-02-12 11:00:21 +0000
committerPetter Reinholdtsen <pere@hungry.com>2010-02-12 11:00:21 +0000
commitbee547bdd6c8a6ca6d419380e71f355b295f7e5a (patch)
tree0c1ea3f2a937b50055df611657cd43ad1e3a9669
parent3879851231037d73e480556767bb7aa96dc47423 (diff)
More debug output.
-rwxr-xr-xfrikanalen/bin/scheduler6
1 files changed, 4 insertions, 2 deletions
diff --git a/frikanalen/bin/scheduler b/frikanalen/bin/scheduler
index b0bdd40..7b30ebd 100755
--- a/frikanalen/bin/scheduler
+++ b/frikanalen/bin/scheduler
@@ -406,11 +406,13 @@ sub vlc_start {
my $os = `uname -s`;
chomp($os);
if ( $os eq 'Darwin' ) {
- exec( "/Applications/VLC.app/Contents/MacOS/VLC", @vlcargs);
+ unshift @vlcargs, "/Applications/VLC.app/Contents/MacOS/VLC";
} else {
# "valgrind", "--leak-check=full",
- exec( "vlc", @vlcargs);
+ unshift @vlcargs, "vlc";
}
+ print "exec: ", join(" ", @vlcargs), "\n";
+ exec(@vlcargs);
exit 0;
} else {
$vlc->{url} = "http://localhost:8080/";