@@ -119,7 +119,7 @@ final class ManagedProcess: Sendable {
119119
120120 var io : IO
121121 if stdio. terminal {
122- log. info ( " setting up terminal IO " )
122+ log. info ( " setting up terminal I/O " )
123123 let attrs = Command . Attrs ( setsid: false , setctty: false )
124124 command. attrs = attrs
125125 io = try TerminalIO (
@@ -134,7 +134,7 @@ final class ManagedProcess: Sendable {
134134 )
135135 }
136136
137- log. info ( " starting io " )
137+ log. info ( " starting I/O " )
138138
139139 // Setup IO early. We expect the host to be listening already.
140140 try io. start ( process: & command)
@@ -172,7 +172,7 @@ extension ManagedProcess {
172172
173173 let size = MemoryLayout< Int32> . size
174174 guard let piddata = try syncPipe. fileHandleForReading. read ( upToCount: size) else {
175- throw ContainerizationError ( . internalError, message: " no pid data from sync pipe " )
175+ throw ContainerizationError ( . internalError, message: " no PID data from sync pipe " )
176176 }
177177
178178 guard piddata. count == size else {
@@ -206,7 +206,7 @@ extension ManagedProcess {
206206
207207 if self . terminal {
208208 log. info (
209- " wait for pty fd " ,
209+ " wait for PTY FD " ,
210210 metadata: [
211211 " id " : " \( id) "
212212 ] )
@@ -215,14 +215,14 @@ extension ManagedProcess {
215215 guard let ptyFd = try self . syncPipe. fileHandleForReading. read ( upToCount: size) else {
216216 throw ContainerizationError (
217217 . internalError,
218- message: " no pty data from sync pipe "
218+ message: " no PTY data from sync pipe "
219219 )
220220 }
221221 let fd = ptyFd. withUnsafeBytes { ptr in
222222 ptr. load ( as: Int32 . self)
223223 }
224224 log. info (
225- " received pty fd from container, attaching " ,
225+ " received PTY FD from container, attaching " ,
226226 metadata: [
227227 " id " : " \( id) "
228228 ] )
@@ -259,7 +259,7 @@ extension ManagedProcess {
259259 do {
260260 try $0. io. close ( )
261261 } catch {
262- self . log. error ( " failed to close io for process: \( error) " )
262+ self . log. error ( " failed to close I/O for process: \( error) " )
263263 }
264264
265265 for waiter in $0. waiters {
0 commit comments