in reply to Re: Re: calling sccs from cgi-bin script
in thread calling sccs from cgi-bin script

Print out the command before you execute it. If that command doesn't contain sccs at all, then the problem is simply that the variable is set wrong. That problem isn't in the code fragment you posted, and should be straightforward to find.
  • Comment on Re: Re: Re: calling sccs from cgi-bin script

Replies are listed 'Best First'.
Re: Re: Re: Re: calling sccs from cgi-bin script
by jfroebe (Parson) on Apr 24, 2004 at 14:24 UTC

    Hi Sgifford,

    When I print out the command, it is generating it correctly. If I place any command (/bin/ls, /bin/echo) in a variable and try to execute it, it is quietly skipped over. Now, from what I can tell, this should only be occurring with the -T taint checking flag enabled.

    confused

    Jason

    No one has seen what you have seen, and until that happens, we're all going to think that you're nuts. - Jack O'Neil, Stargate SG-1

      taint checking should cause the script to die, not just ignore the variable. Show us the code where the variable is supposed to be set. Are you running this as a regular CGI script, or under mod_perl?