Skip to main content
The 2024 Developer Survey results are live! See the results
mklement0's user avatar
mklement0's user avatar
mklement0's user avatar
mklement0
  • Member for 15 years, 7 months
  • Last seen this week
42 votes
2 answers
56k views

PowerShell and process exit codes

37 votes
3 answers
8k views

Make the `say` terminal utility and NSSpeechSynthesizer work with Siri voices

25 votes
6 answers
1k views

Why do regex engines allow / automatically attempt matching at the end of the input string?

21 votes
1 answer
799 views

Unquoted tokens in argument mode involving variable references and subexpressions: why are they sometimes split into multiple arguments?

11 votes
1 answer
969 views

Why do some regex engines match .* twice in a single input string?

11 votes
1 answer
1k views

How do I call the PowerShell CLI robustly, with respect to character encoding, input and output streams, quoting and escaping?

7 votes
1 answer
332 views

Surprising, but correct behavior of a greedy subexpression in a positive lookbehind assertion

7 votes
2 answers
1k views

Call a batch file from PowerShell with proper exit code reporting while avoiding doubling of carets

5 votes
1 answer
3k views

PowerShell remoting: Controlling what edition is being targeted (PowerShell Core or Windows PowerShell); the state of cross-platform remoting

5 votes
1 answer
851 views

Why are -ErrorAction Stop / $ErrorActionPreference = 'Stop' sometimes ineffective, e.g. with implicit remoting / Windows PowerShell Compatibility?

4 votes
1 answer
2k views

SetForegroundWindow: relationship between the ForegroundLockTimeout registry value and the SPI_GETFOREGROUNDLOCKTIMEOUT WinAPI parameter

4 votes
2 answers
1k views

Tab-complete a parameter value based on another parameter's already specified value

4 votes
3 answers
1k views

UIToolBar unexpectedly registers taps on UIBarButtonItem instances even when tapping at a considerable distance from them

4 votes
3 answers
1k views

JXA: Accessing CFString constants from CoreServices

3 votes
0 answers
60 views

Implicit vs. explicit stringification: Why do string-expanded values sometimes differ from calling [.psobject].ToString()? [duplicate]

3 votes
1 answer
497 views

On Windows, PowerShell misinterprets non-ASCII characters in mosquitto_sub output

3 votes
1 answer
562 views

Find the statistical mode(s) of a dataset in PowerShell

2 votes
1 answer
299 views

Surprising UTC offset reported by System.DateTimeOffset instances for dates before 19 Nov 1883

1 vote
1 answer
420 views

Round-trip conversion of a System.DateTime instance via a Unix time stamp is off by 1 hour

1 vote
1 answer
193 views

Case-normalize filenames based on wildcard patterns

1 vote
1 answer
1k views

Increment a version number contained in a text file

0 votes
2 answers
158 views

.NET (Core) on Unix: In-process modification of environment variables via P/Invoke system calls is unexpectedly not seen by .NET

0 votes
1 answer
97 views

Convert a JSON representation of CSV data to actual CSV data in Powershell