Re: [Expect] exp_spawn failed on Windows 2003 with DEP(DataExecutionPrevention)
by Aaron P. Perez other posts by this author
Dec 20 2007 11:53AM messages near this date
view in the new Beta List Site
[Expect] Does exp_match_max work on Win32, ActiveTcl 8.4.14
|
Re: [Expect] exp_spawn failed on Windows 2003 with DEP(DataExecutionPrevention)
Oops, I thought I replied to the list but only replied to Yaron.
I had several issues that caused problems when we upgraded from Expect
for Window NT 5.21 to the latest ActiveTcl/Expect.; in our scripts we
were spawning cmd.exe then having that process run telnet.exe.
1) Original dbghelp.dll from M$ 'faulty'
http://aspn.activestate.com/ASPN/Mail/Message/expect/3117206
2) DEP causes conflict
http://aspn.activestate.com/ASPN/Mail/Message/expect/3560243
3) ActiveTcl/Expect can not 'see' an executed program's output
from a spawned process (i.e. Expect spawns cmd.exe then cmd.exe executes
another program. Expect only sees cmd.exe's output)
http://aspn.activestate.com/ASPN/Mail/Message/expect/3472932
Sounds like #3 isn't a problem but maybe #1 will help?
________________________________
From: expect-bounces@[...].com
[mailto:expect-bounces@[...].com] On Behalf Of Yaron
Peryanty
Sent: Wednesday, December 19, 2007 7:41 AM
To: Virden, Larry W.; expect@[...].com
Subject: Re: [Expect] exp_spawn failed on Windows 2003 with
DEP(DataExecutionPrevention)
Importance: Low
The DEP prevents my script from running.
It seems to be the Expect problem.
________________________________
From: expect-bounces@[...].com
[mailto:expect-bounces@[...].com] On Behalf Of Virden,
Larry W.
Sent: Wednesday, December 19, 2007 5:39 PM
To: expect@[...].com
Subject: Re: [Expect] exp_spawn failed on Windows 2003 with DEP
(DataExecutionPrevention)
Is the DEP being caused by Expect, or by plink?
--
<URL: http://wiki.tcl.tk/ >
Even if explicitly stated to the contrary, nothing in this posting
should be construed as representing my employer's opinions.
<URL: mailto:lvirden@[...].com > <URL: http://www.purl.org/NET/lvirden/
>
________________________________
From: expect-bounces@[...].com
[mailto:expect-bounces@[...].com] On Behalf Of Yaron
Peryanty
Sent: Wednesday, December 19, 2007 10:32 AM
To: expect@[...].com
Subject: [Expect] exp_spawn failed on Windows 2003 with DEP (Data
ExecutionPrevention)
Hi,
I have a small script that spawn a plink.exe which fails in Windows
2003. After some investigation I found out that the DEP (data execution
prevention) causes the problem.
According to what I found across the net the workaround is to disable
DEP or add the executable to the list of executables which DEP doesn't
handle.
This is not so good for me since the DEP should be enabled on all
applications.
Is there a solution for this problem? Maybe a newer TCL version?
Thanks a lot,
Yaron
Thread:
Aaron P. Perez
David Gravereaux
Larry W. Virden
|