This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

lynx execute problem

Old posts that have not been replied to for several years.
Locked
N
NewzUK
Master
Posts: 200
Joined: Mon Nov 18, 2002 3:10 am
Location: Auckland, New Zealand
Contact:

lynx execute problem

Post by NewzUK »

Hi

I have a script that has the following line in it to run lynx:

set all [exec lynx -dump -nolist -width=3000 "http://www.theurlim usingetcetc.com"]

However, I'm getting this error when trying to run the script"

Tcl error [y_minute_trigger]: couldn't execute "lynx": permission denied

I'm not sure why as another script I use also uses lynx, and it works fine - though I notice it uses: open "|$lynx instead of exec

All the permissions are checked enable on lynx...

Wonder if anyone can help me on this?

Thanks :-?
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

You might want to check the URL.

Have you tried the exact line fromt he shell, to see if it functions normaly?
N
NewzUK
Master
Posts: 200
Joined: Mon Nov 18, 2002 3:10 am
Location: Auckland, New Zealand
Contact:

Post by NewzUK »

hi

just double-checked and both URL and lynx working fine - its just the execution from the script that it dosnt like for some reason... :-?
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

I can't find anything wrong, all my tests work.

Possibly moving to the "open" approach would be better.
Locked