Hi folks,

I have discovered my error. I forgot to pass the path to the binary in the
Call command
The fixed script is:
*#!rebol -cs*
*REBOL[]*
*print "content-type: text/html ^/^/"*
*probe call "/usr/bin/htpasswd /home/revistae/public_html/.passfile jane
Pss4Jane"*
*
*
*Thanks for your time ;)*
*
*
*
*
2010/3/2 Carlos Lorenz <[email protected]>

> Hi list,
>
> I´d like to call htpasswd from my REBOL script
>
> I tried to do what follows below with no success:
>
> *#!rebol -cs*
> *REBOL[]*
> *print "content-type: text/html ^/^/"*
> *probe call "htpasswd /home/revistae/public_html/.passfile jane Pss4Jane"*
>
> The script always returns 0 but won´t create the password file.
>
> Thanks for any help
>
> Carlos
>

-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.

Reply via email to