public ExternalConsole CreateConsole (bool closeOnDispose, CancellationToken cancellationToken = default (CancellationToken))
		{
			var c = new ExternalConsole (closeOnDispose);
			if (cancellationToken != default(CancellationToken))
				c.BindToCancelToken (cancellationToken);
			return c;
		}
        public ExternalConsole CreateConsole(bool closeOnDispose, CancellationToken cancellationToken = default(CancellationToken))
        {
            var c = new ExternalConsole(closeOnDispose, null);

            if (cancellationToken != default(CancellationToken))
            {
                c.BindToCancelToken(cancellationToken);
            }
            return(c);
        }