Index: global-5.4/htags/global.cgi.tmpl.in =================================================================== --- global-5.4.orig/htags/global.cgi.tmpl.in +++ global-5.4/htags/global.cgi.tmpl.in @@ -128,9 +128,9 @@ local(%ctab) = ('&', '&', '<', '< # $flags = $flag . $iflag . $oflag; if ($flags eq '') { - open(PIPE, "-|") || exec '@globalpath@', '--result=ctags-xid', '-e', $pattern; + open(PIPE, "@globalpath@ --result=ctags-xid -e $pattern |"); } else { - open(PIPE, "-|") || exec '@globalpath@', '--result=ctags-xid', '-'.$flags, '-e', $pattern; + open(PIPE, "@globalpath@ --result=ctags-xid -$flags -e $pattern |"); } if ($?) { print "@address@hidden@address@hidden";