don't background the editor if we are not under X
[sgn-devtools.git] / trac_cmdline / traclog
blob86e8e8b0870935230691ba535dcce4328384b1b8
1 #!/usr/bin/env perl
2 use strict;
3 use warnings;
4 use File::Spec;
5 #use Config::General;
7 open *STDOUT, '>', File::Spec->devnull or die 'cannot reopen stdout';
8 open *STDERR, '>', File::Spec->devnull or die 'cannot reopen stderr';
10 exec $ENV{BROWSER} || 'firefox', 'http://bugs.sgn.cornell.edu/trac/cxgn/log/'.join '', @ARGV;