开发者

preventing a cmdlet from freezing powershell

I created a cmdlet that automates keystrokes to window. When I attached that window to the debugger and perform long debugging operations, powershell freezes and even ctrl+c is not recogni开发者_高级运维zed.

Can you help me with this? thanks :)


Try to start a background-job (http://msdn.microsoft.com/en-us/library/dd878288(v=vs.85).aspx). You can work while your command is executed in the background and look at the results with receive-job or look at the status with get-job).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜