.net - Crash of my command line tool when it tries to access some Console Cursor related properties -


i'm trying retrieve standard output little command line tool wrote (in .net too) starting process this.

it works except if command line tool tries retrieve console.cursortop property, or tries set console.cursorvisible property. in cases, crashes.

i don't understand why happening, other methods or properties of console might work theses don't. there kind of hidden cursor object in console never initialized if started way?

this tool works fine if launch explorer or if run in cmd.

could explain me why happens , how can prevent it? thanks.


Comments

Popular posts from this blog

How to access named pipes using JavaScript in Firefox add-on? -

multithreading - OPAL (Open Phone Abstraction Library) Transport not terminated when reattaching thread? -

node.js - req param returns an empty array -