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

Hi sgifford,

thanks for the reply! Unfortunately it produces the same... the edit executes and not the sccs. If I hardcode the sccs, then it works.

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

  • Comment on Re: Re: calling sccs from cgi-bin script

Replies are listed 'Best First'.
Re: Re: Re: calling sccs from cgi-bin script
by sgifford (Prior) on Apr 23, 2004 at 23:35 UTC
    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.

      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?