Skip to content

Commit

Permalink
Encode external commands in UTF-8
Browse files Browse the repository at this point in the history
Fixes #41.
  • Loading branch information
MariusDoe committed Nov 10, 2024
1 parent 843a459 commit 7e7c562
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ externalCommand: aString
osProcess waitForCommand:
(osProcess isWindows
ifTrue: [self windowsTerminalCommand: aString]
ifFalse: [self terminalCommand: aString]).
ifFalse: [self terminalCommand: aString])
squeakToUtf8.
[exitCodeReference exists] whileFalse: [0.1 seconds wait]].
exitCode := exitCodeReference contents asString withBlanksTrimmed asNumber.
exitCode = 0 ifTrue: [^ self].
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"createBranchNamed:at:" : "jr 3/4/2020 00:47",
"detectTerminalCommand" : "mad 10/31/2024 17:49",
"expandRemoteRef:" : "pre 6/15/2018 16:04",
"externalCommand:" : "mad 11/10/2024 18:58",
"externalCommand:" : "mad 11/10/2024 19:06",
"externalCommandExitCodePath" : "mad 11/10/2024 18:14",
"externalGitDo:" : "mad 11/10/2024 16:44",
"externalPush:toRemote:force:" : "mad 5/18/2024 12:26",
Expand Down

0 comments on commit 7e7c562

Please sign in to comment.