ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> expect
expect
Re: [Expect] exp_spawn failed on Windows 2003 withDEP(DataExecutionPrevention)
by Larry W. Virden other posts by this author
Dec 20 2007 11:59AM messages near this date
view in the new Beta List Site
Re: [Expect] exp_spawn failed on Windows 2003 with DEP(DataExecutionPrevention) | [Expect] exp_spawn failed on Windows 2003 with DEP (Data Execution Prevention)
So, which is it? The message referenced in Mr. Perez's posting says the
DEP is in a Microsoft process, not Expect. But Yaron seems to indicate
the problem is in Expect.
 
I don't have a setup where I can test myself. However, one should be
able to test by writing some simple expect scripts that run other
programs. If one can write expect scripts on windows that work
successfully, using the same syntax as when you call plink.exe, then the
problem seems, to me, to be plink's problem.
 
But maybe I'm just way too inexperienced in these things.
 

-- 

<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 Perez,
Aaron P.
Sent: Thursday, December 20, 2007 2:53 PM
To: expect@[...].com
Subject: Re: [Expect] exp_spawn failed on Windows 2003
withDEP(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.

 

 
 

 
Thread:
Aaron P. Perez
David Gravereaux
Larry W. Virden

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved