Jason Shirk

Results 154 comments of Jason Shirk

Our conclusion on this issue was specifically about wanting better support for encodings, nothing more. I think we also questioned the value in porting `file` to PowerShell because extensions are...

Try PSReadLine 2.0.0-beta1 - I think the experience is improved.

Honoring the callers preference might cause serious problems by introducing exceptions (e.g. `$errorActionPreference = 'Stop'` in places where none were expected. Some examples - `Dispose` might not get called and...

Keep in mind one big difference between binary cmdlets and functions - binary cmdlets are rarely implemented in terms of PowerShell functions or other cmdlets. The error or verbose output...

> Users needing to be aware I think you're emphasizing my point. Users of a command aren't aware of the implementation and do have the expectation of reasonable output. Command...

The Win32 Console api supports notifying a console application that it is closing and PowerShell is supposed to receive that notifcation [here](https://github.com/PowerShell/PowerShell/blob/1c4d88cb64b879eb3dc2e76755e7bb017159874d/src/Microsoft.PowerShell.ConsoleHost/host/msh/ConsoleHost.cs#L337). I know this mechanism works because `PSReadLine` uses...

If anyone decides to try this, be aware that I am aware of at least one feature that Mono provides an api for, but it silently does nothing. PowerShell classes...

I believe this [line](https://github.com/PowerShell/PowerShell/blob/master/src/System.Management.Automation/engine/parser/PSType.cs#L1124) was the problem, and more specifically, RunAndCollect did not enable garbage collection.

I'm not aware of anyone working on this, and the issue is `Up-for-Grabs`, so if you want to see it happen, maybe you can contribute. I will say that at...

Interesting idea. If this was possible, I wonder if I would have used a `scriptblock` instead of a delegate in some places, e.g.: ``` Set-PSReadlineOption ... [-AddToHistoryHandler ] [-CommandValidationHandler ]...