Command window

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Command window

1,901 次查看
NewProgrammer
Contributor I
Hello,
          This is the first time am using CW tool.I have an application in which I need to open the command window of CW using perl scripts. The following snippet launches CW debugger .
 

use Win32::smileysurprised:LE;

$CW=Win32::smileysurprised:LE->new("CodeWarrior.CodeWarriorApp");

$textDocument = $CW->OpenTextDocument('D:\temp.txt', 1);

print ("Press any key to continue ... ");

$_ = <STDIN>;

Could someone help me to launch the command window  of CW IDE using perl scripts.

 

Thanks .

标签 (1)
0 项奖励
回复
1 回复

744 次查看
CompilerGuru
NXP Employee
NXP Employee
I'm actually not aware that there is a scripting API to do that.

But have a look at the /d option of "CmdIDE.exe"
(try CmdIDE.exe /? on a windows command shell).
With this option, you can start the ide and automatically start a script in the command window.

Daniel
0 项奖励
回复