tsumanne 0.0.0 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,628 @@
1
+ # typed: true
2
+
3
+ # DO NOT EDIT MANUALLY
4
+ # This is an autogenerated file for types exported from the `mixlib-shellout` gem.
5
+ # Please instead update this file by running `bin/tapioca gem mixlib-shellout`.
6
+
7
+ # source://mixlib-shellout//lib/mixlib/shellout/exceptions.rb#1
8
+ module Mixlib; end
9
+
10
+ # source://mixlib-shellout//lib/mixlib/shellout/exceptions.rb#2
11
+ class Mixlib::ShellOut
12
+ include ::Mixlib::ShellOut::Unix
13
+
14
+ # === Arguments:
15
+ # Takes a single command, or a list of command fragments. These are used
16
+ # as arguments to Kernel.exec. See the Kernel.exec documentation for more
17
+ # explanation of how arguments are evaluated. The last argument can be an
18
+ # options Hash.
19
+ # === Options:
20
+ # If the last argument is a Hash, it is removed from the list of args passed
21
+ # to exec and used as an options hash. The following options are available:
22
+ # * +user+: the user the command should run as. if an integer is given, it is
23
+ # used as a uid. A string is treated as a username and resolved to a uid
24
+ # with Etc.getpwnam
25
+ # * +group+: the group the command should run as. works similarly to +user+
26
+ # * +cwd+: the directory to chdir to before running the command
27
+ # * +umask+: a umask to set before running the command. If given as an Integer,
28
+ # be sure to use two leading zeros so it's parsed as Octal. A string will
29
+ # be treated as an octal integer
30
+ # * +returns+: one or more Integer values to use as valid exit codes for the
31
+ # subprocess. This only has an effect if you call +error!+ after
32
+ # +run_command+.
33
+ # * +environment+: a Hash of environment variables to set before the command
34
+ # is run.
35
+ # * +timeout+: a Numeric value for the number of seconds to wait on the
36
+ # child process before raising an Exception. This is calculated as the
37
+ # total amount of time that ShellOut waited on the child process without
38
+ # receiving any output (i.e., IO.select returned nil). Default is 600
39
+ # seconds. Note: the stdlib Timeout library is not used.
40
+ # * +input+: A String of data to be passed to the subcommand. This is
41
+ # written to the child process' stdin stream before the process is
42
+ # launched. The child's stdin stream will be a pipe, so the size of input
43
+ # data should not exceed the system's default pipe capacity (4096 bytes
44
+ # is a safe value, though on newer Linux systems the capacity is 64k by
45
+ # default).
46
+ # * +live_stream+: An IO or Logger-like object (must respond to the append
47
+ # operator +<<+) that will receive data as ShellOut reads it from the
48
+ # child process. Generally this is used to copy data from the child to
49
+ # the parent's stdout so that users may observe the progress of
50
+ # long-running commands.
51
+ # * +login+: Whether to simulate a login (set secondary groups, primary group, environment
52
+ # variables etc) as done by the OS in an actual login
53
+ # === Examples:
54
+ # Invoke find(1) to search for .rb files:
55
+ # find = Mixlib::ShellOut.new("find . -name '*.rb'")
56
+ # find.run_command
57
+ # # If all went well, the results are on +stdout+
58
+ # puts find.stdout
59
+ # # find(1) prints diagnostic info to STDERR:
60
+ # puts "error messages" + find.stderr
61
+ # # Raise an exception if it didn't exit with 0
62
+ # find.error!
63
+ # Run a command as the +www+ user with no extra ENV settings from +/tmp+
64
+ # cmd = Mixlib::ShellOut.new("apachectl", "start", :user => 'www', :env => nil, :cwd => '/tmp')
65
+ # cmd.run_command # etc.
66
+ #
67
+ # @return [ShellOut] a new instance of ShellOut
68
+ #
69
+ # source://mixlib-shellout//lib/mixlib/shellout.rb#169
70
+ def initialize(*command_args); end
71
+
72
+ # The command to be executed.
73
+ #
74
+ # source://mixlib-shellout//lib/mixlib/shellout.rb#84
75
+ def command; end
76
+
77
+ # Working directory for the subprocess. Normally set via options to new
78
+ #
79
+ # source://mixlib-shellout//lib/mixlib/shellout.rb#54
80
+ def cwd; end
81
+
82
+ # Working directory for the subprocess. Normally set via options to new
83
+ #
84
+ # source://mixlib-shellout//lib/mixlib/shellout.rb#54
85
+ def cwd=(_arg0); end
86
+
87
+ # Returns the value of attribute domain.
88
+ #
89
+ # source://mixlib-shellout//lib/mixlib/shellout.rb#41
90
+ def domain; end
91
+
92
+ # Sets the attribute domain
93
+ #
94
+ # @param value the value to set the attribute domain to.
95
+ #
96
+ # source://mixlib-shellout//lib/mixlib/shellout.rb#41
97
+ def domain=(_arg0); end
98
+
99
+ # Runs windows process with elevated privileges. Required for Powershell commands which need elevated privileges
100
+ #
101
+ # source://mixlib-shellout//lib/mixlib/shellout.rb#113
102
+ def elevated; end
103
+
104
+ # Runs windows process with elevated privileges. Required for Powershell commands which need elevated privileges
105
+ #
106
+ # source://mixlib-shellout//lib/mixlib/shellout.rb#113
107
+ def elevated=(_arg0); end
108
+
109
+ # Environment variables that will be set for the subcommand. Refer to the
110
+ # documentation of new to understand how ShellOut interprets this.
111
+ #
112
+ # source://mixlib-shellout//lib/mixlib/shellout.rb#91
113
+ def environment; end
114
+
115
+ # Environment variables that will be set for the subcommand. Refer to the
116
+ # documentation of new to understand how ShellOut interprets this.
117
+ #
118
+ # source://mixlib-shellout//lib/mixlib/shellout.rb#91
119
+ def environment=(_arg0); end
120
+
121
+ # If #error? is true, calls +invalid!+, which raises an Exception.
122
+ # === Returns
123
+ # nil::: always returns nil when it does not raise
124
+ # === Raises
125
+ # ::ShellCommandFailed::: via +invalid!+
126
+ #
127
+ # source://mixlib-shellout//lib/mixlib/shellout.rb#286
128
+ def error!; end
129
+
130
+ # Checks the +exitstatus+ against the set of +valid_exit_codes+.
131
+ # === Returns
132
+ # +true+ if +exitstatus+ is not in the list of +valid_exit_codes+, false
133
+ # otherwise.
134
+ #
135
+ # @return [Boolean]
136
+ #
137
+ # source://mixlib-shellout//lib/mixlib/shellout.rb#277
138
+ def error?; end
139
+
140
+ # The amount of time the subcommand took to execute
141
+ #
142
+ # source://mixlib-shellout//lib/mixlib/shellout.rb#98
143
+ def execution_time; end
144
+
145
+ # The exit status of the subprocess. Will be nil if the command is still
146
+ # running or died without setting an exit status (e.g., terminated by
147
+ # `kill -9`).
148
+ #
149
+ # source://mixlib-shellout//lib/mixlib/shellout.rb#250
150
+ def exitstatus; end
151
+
152
+ # Creates a String showing the output of the command, including a banner
153
+ # showing the exact command executed. Used by +invalid!+ to show command
154
+ # results when the command exited with an unexpected status.
155
+ #
156
+ # source://mixlib-shellout//lib/mixlib/shellout.rb#234
157
+ def format_for_exception; end
158
+
159
+ # The gid that the subprocess will switch to. If the group attribute is
160
+ # given as a group name, it is converted to a gid by Etc.getgrnam
161
+ # TODO migrate to shellout/unix.rb
162
+ #
163
+ # source://mixlib-shellout//lib/mixlib/shellout.rb#220
164
+ def gid; end
165
+
166
+ # Group the command will run as. Normally set via options passed to new
167
+ #
168
+ # source://mixlib-shellout//lib/mixlib/shellout.rb#51
169
+ def group; end
170
+
171
+ # Group the command will run as. Normally set via options passed to new
172
+ #
173
+ # source://mixlib-shellout//lib/mixlib/shellout.rb#51
174
+ def group=(_arg0); end
175
+
176
+ # ShellOut will push data from :input down the stdin of the subprocess.
177
+ # Normally set via options passed to new.
178
+ # Default: nil
179
+ #
180
+ # source://mixlib-shellout//lib/mixlib/shellout.rb#71
181
+ def input; end
182
+
183
+ # ShellOut will push data from :input down the stdin of the subprocess.
184
+ # Normally set via options passed to new.
185
+ # Default: nil
186
+ #
187
+ # source://mixlib-shellout//lib/mixlib/shellout.rb#71
188
+ def input=(_arg0); end
189
+
190
+ # source://mixlib-shellout//lib/mixlib/shellout.rb#303
191
+ def inspect; end
192
+
193
+ # Raises a ShellCommandFailed exception, appending the
194
+ # command's stdout, stderr, and exitstatus to the exception message.
195
+ # === Arguments
196
+ # +msg+: A String to use as the basis of the exception message. The
197
+ # default explanation is very generic, providing a more informative message
198
+ # is highly encouraged.
199
+ # === Raises
200
+ # ShellCommandFailed always
201
+ #
202
+ # @raise [ShellCommandFailed]
203
+ #
204
+ # source://mixlib-shellout//lib/mixlib/shellout.rb#298
205
+ def invalid!(msg = T.unsafe(nil)); end
206
+
207
+ # When live_stderr is set, the stderr of the subprocess will be copied to it
208
+ # as the subprocess is running.
209
+ #
210
+ # source://mixlib-shellout//lib/mixlib/shellout.rb#66
211
+ def live_stderr; end
212
+
213
+ # When live_stderr is set, the stderr of the subprocess will be copied to it
214
+ # as the subprocess is running.
215
+ #
216
+ # source://mixlib-shellout//lib/mixlib/shellout.rb#66
217
+ def live_stderr=(_arg0); end
218
+
219
+ # When live_stdout is set, the stdout of the subprocess will be copied to it
220
+ # as the subprocess is running.
221
+ #
222
+ # source://mixlib-shellout//lib/mixlib/shellout.rb#62
223
+ def live_stdout; end
224
+
225
+ # When live_stdout is set, the stdout of the subprocess will be copied to it
226
+ # as the subprocess is running.
227
+ #
228
+ # source://mixlib-shellout//lib/mixlib/shellout.rb#62
229
+ def live_stdout=(_arg0); end
230
+
231
+ # Returns the stream that both is being used by both live_stdout and live_stderr, or nil
232
+ #
233
+ # source://mixlib-shellout//lib/mixlib/shellout.rb#191
234
+ def live_stream; end
235
+
236
+ # A shortcut for setting both live_stdout and live_stderr, so that both the
237
+ # stdout and stderr from the subprocess will be copied to the same stream as
238
+ # the subprocess is running.
239
+ #
240
+ # source://mixlib-shellout//lib/mixlib/shellout.rb#198
241
+ def live_stream=(stream); end
242
+
243
+ # The log level at which ShellOut should log.
244
+ #
245
+ # source://mixlib-shellout//lib/mixlib/shellout.rb#78
246
+ def log_level; end
247
+
248
+ # The log level at which ShellOut should log.
249
+ #
250
+ # source://mixlib-shellout//lib/mixlib/shellout.rb#78
251
+ def log_level=(_arg0); end
252
+
253
+ # A string which will be prepended to the log message.
254
+ #
255
+ # source://mixlib-shellout//lib/mixlib/shellout.rb#81
256
+ def log_tag; end
257
+
258
+ # A string which will be prepended to the log message.
259
+ #
260
+ # source://mixlib-shellout//lib/mixlib/shellout.rb#81
261
+ def log_tag=(_arg0); end
262
+
263
+ # If a logger is set, ShellOut will log a message before it executes the
264
+ # command.
265
+ #
266
+ # source://mixlib-shellout//lib/mixlib/shellout.rb#75
267
+ def logger; end
268
+
269
+ # If a logger is set, ShellOut will log a message before it executes the
270
+ # command.
271
+ #
272
+ # source://mixlib-shellout//lib/mixlib/shellout.rb#75
273
+ def logger=(_arg0); end
274
+
275
+ # Whether to simulate logon as the user. Normally set via options passed to new
276
+ # Always enabled on windows
277
+ #
278
+ # source://mixlib-shellout//lib/mixlib/shellout.rb#48
279
+ def login; end
280
+
281
+ # Whether to simulate logon as the user. Normally set via options passed to new
282
+ # Always enabled on windows
283
+ #
284
+ # source://mixlib-shellout//lib/mixlib/shellout.rb#48
285
+ def login=(_arg0); end
286
+
287
+ # Returns the value of attribute password.
288
+ #
289
+ # source://mixlib-shellout//lib/mixlib/shellout.rb#42
290
+ def password; end
291
+
292
+ # Sets the attribute password
293
+ #
294
+ # @param value the value to set the attribute password to.
295
+ #
296
+ # source://mixlib-shellout//lib/mixlib/shellout.rb#42
297
+ def password=(_arg0); end
298
+
299
+ # Returns the value of attribute process_status_pipe.
300
+ #
301
+ # source://mixlib-shellout//lib/mixlib/shellout.rb#110
302
+ def process_status_pipe; end
303
+
304
+ # Run the command, writing the command's standard out and standard error
305
+ # to +stdout+ and +stderr+, and saving its exit status object to +status+
306
+ # === Returns
307
+ # returns +self+; +stdout+, +stderr+, +status+, and +exitstatus+ will be
308
+ # populated with results of the command
309
+ # === Raises
310
+ # * Errno::EACCES when you are not privileged to execute the command
311
+ # * Errno::ENOENT when the command is not available on the system (or not
312
+ # in the current $PATH)
313
+ # * CommandTimeout when the command does not complete
314
+ # within +timeout+ seconds (default: 600s)
315
+ #
316
+ # source://mixlib-shellout//lib/mixlib/shellout.rb#265
317
+ def run_command; end
318
+
319
+ # Returns the value of attribute sensitive.
320
+ #
321
+ # source://mixlib-shellout//lib/mixlib/shellout.rb#115
322
+ def sensitive; end
323
+
324
+ # Sets the attribute sensitive
325
+ #
326
+ # @param value the value to set the attribute sensitive to.
327
+ #
328
+ # source://mixlib-shellout//lib/mixlib/shellout.rb#115
329
+ def sensitive=(_arg0); end
330
+
331
+ # A Process::Status (or ducktype) object collected when the subprocess is
332
+ # reaped.
333
+ #
334
+ # source://mixlib-shellout//lib/mixlib/shellout.rb#108
335
+ def status; end
336
+
337
+ # Data written to stderr by the subprocess
338
+ #
339
+ # source://mixlib-shellout//lib/mixlib/shellout.rb#104
340
+ def stderr; end
341
+
342
+ # Returns the value of attribute stderr_pipe.
343
+ #
344
+ # source://mixlib-shellout//lib/mixlib/shellout.rb#110
345
+ def stderr_pipe; end
346
+
347
+ # Returns the value of attribute stdin_pipe.
348
+ #
349
+ # source://mixlib-shellout//lib/mixlib/shellout.rb#110
350
+ def stdin_pipe; end
351
+
352
+ # Data written to stdout by the subprocess
353
+ #
354
+ # source://mixlib-shellout//lib/mixlib/shellout.rb#101
355
+ def stdout; end
356
+
357
+ # Returns the value of attribute stdout_pipe.
358
+ #
359
+ # source://mixlib-shellout//lib/mixlib/shellout.rb#110
360
+ def stdout_pipe; end
361
+
362
+ # source://mixlib-shellout//lib/mixlib/shellout.rb#227
363
+ def timeout; end
364
+
365
+ # The maximum time this command is allowed to run. Usually set via options
366
+ # to new
367
+ #
368
+ # source://mixlib-shellout//lib/mixlib/shellout.rb#95
369
+ def timeout=(_arg0); end
370
+
371
+ # The uid that the subprocess will switch to. If the user attribute was
372
+ # given as a username, it is converted to a uid by Etc.getpwnam
373
+ # TODO migrate to shellout/unix.rb
374
+ #
375
+ # source://mixlib-shellout//lib/mixlib/shellout.rb#211
376
+ def uid; end
377
+
378
+ # The umask that will be set for the subcommand.
379
+ #
380
+ # source://mixlib-shellout//lib/mixlib/shellout.rb#87
381
+ def umask; end
382
+
383
+ # Set the umask that the subprocess will have. If given as a string, it
384
+ # will be converted to an integer by String#oct.
385
+ #
386
+ # source://mixlib-shellout//lib/mixlib/shellout.rb#204
387
+ def umask=(new_umask); end
388
+
389
+ # User the command will run as. Normally set via options passed to new
390
+ #
391
+ # source://mixlib-shellout//lib/mixlib/shellout.rb#40
392
+ def user; end
393
+
394
+ # User the command will run as. Normally set via options passed to new
395
+ #
396
+ # source://mixlib-shellout//lib/mixlib/shellout.rb#40
397
+ def user=(_arg0); end
398
+
399
+ # An Array of acceptable exit codes. #error? (and #error!) use this list
400
+ # to determine if the command was successful. Normally set via options to new
401
+ #
402
+ # source://mixlib-shellout//lib/mixlib/shellout.rb#58
403
+ def valid_exit_codes; end
404
+
405
+ # An Array of acceptable exit codes. #error? (and #error!) use this list
406
+ # to determine if the command was successful. Normally set via options to new
407
+ #
408
+ # source://mixlib-shellout//lib/mixlib/shellout.rb#58
409
+ def valid_exit_codes=(_arg0); end
410
+
411
+ # TODO remove
412
+ #
413
+ # source://mixlib-shellout//lib/mixlib/shellout.rb#44
414
+ def with_logon; end
415
+
416
+ # TODO remove
417
+ #
418
+ # source://mixlib-shellout//lib/mixlib/shellout.rb#44
419
+ def with_logon=(_arg0); end
420
+
421
+ private
422
+
423
+ # source://mixlib-shellout//lib/mixlib/shellout.rb#311
424
+ def parse_options(opts); end
425
+
426
+ # source://mixlib-shellout//lib/mixlib/shellout.rb#365
427
+ def validate_options(opts); end
428
+ end
429
+
430
+ # source://mixlib-shellout//lib/mixlib/shellout/exceptions.rb#5
431
+ class Mixlib::ShellOut::CommandTimeout < ::Mixlib::ShellOut::Error; end
432
+
433
+ # source://mixlib-shellout//lib/mixlib/shellout.rb#29
434
+ Mixlib::ShellOut::DEFAULT_READ_TIMEOUT = T.let(T.unsafe(nil), Integer)
435
+
436
+ # source://mixlib-shellout//lib/mixlib/shellout/exceptions.rb#7
437
+ class Mixlib::ShellOut::EmptyWindowsCommand < ::Mixlib::ShellOut::ShellCommandFailed; end
438
+
439
+ # source://mixlib-shellout//lib/mixlib/shellout/exceptions.rb#3
440
+ class Mixlib::ShellOut::Error < ::RuntimeError; end
441
+
442
+ # source://mixlib-shellout//lib/mixlib/shellout/exceptions.rb#6
443
+ class Mixlib::ShellOut::InvalidCommandOption < ::Mixlib::ShellOut::Error; end
444
+
445
+ # source://mixlib-shellout//lib/mixlib/shellout.rb#28
446
+ Mixlib::ShellOut::READ_SIZE = T.let(T.unsafe(nil), Integer)
447
+
448
+ # source://mixlib-shellout//lib/mixlib/shellout.rb#27
449
+ Mixlib::ShellOut::READ_WAIT_TIME = T.let(T.unsafe(nil), Float)
450
+
451
+ # source://mixlib-shellout//lib/mixlib/shellout/exceptions.rb#4
452
+ class Mixlib::ShellOut::ShellCommandFailed < ::Mixlib::ShellOut::Error; end
453
+
454
+ # source://mixlib-shellout//lib/mixlib/shellout/unix.rb#21
455
+ module Mixlib::ShellOut::Unix
456
+ # Helper method for sgids
457
+ #
458
+ # source://mixlib-shellout//lib/mixlib/shellout/unix.rb#41
459
+ def all_seconderies; end
460
+
461
+ # The environment variables that are deduced from simulating logon
462
+ # Only valid if login is used
463
+ #
464
+ # source://mixlib-shellout//lib/mixlib/shellout/unix.rb#63
465
+ def logon_environment; end
466
+
467
+ # Merges the two environments for the process
468
+ #
469
+ # source://mixlib-shellout//lib/mixlib/shellout/unix.rb#74
470
+ def process_environment; end
471
+
472
+ # Run the command, writing the command's standard out and standard error
473
+ # to +stdout+ and +stderr+, and saving its exit status object to +status+
474
+ # === Returns
475
+ # returns +self+; +stdout+, +stderr+, +status+, and +exitstatus+ will be
476
+ # populated with results of the command.
477
+ # === Raises
478
+ # * Errno::EACCES when you are not privileged to execute the command
479
+ # * Errno::ENOENT when the command is not available on the system (or not
480
+ # in the current $PATH)
481
+ # * Chef::Exceptions::CommandTimeout when the command does not complete
482
+ # within +timeout+ seconds (default: 600s). When this happens, ShellOut
483
+ # will send a TERM and then KILL to the entire process group to ensure
484
+ # that any grandchild processes are terminated. If the invocation of
485
+ # the child process spawned multiple child processes (which commonly
486
+ # happens if the command is passed as a single string to be interpreted
487
+ # by bin/sh, and bin/sh is not bash), the exit status object may not
488
+ # contain the correct exit code of the process (of course there is no
489
+ # exit code if the command is killed by SIGKILL, also).
490
+ #
491
+ # source://mixlib-shellout//lib/mixlib/shellout/unix.rb#96
492
+ def run_command; end
493
+
494
+ # The secondary groups that the subprocess will switch to.
495
+ # Currently valid only if login is used, and is set
496
+ # to the user's secondary groups
497
+ #
498
+ # source://mixlib-shellout//lib/mixlib/shellout/unix.rb#54
499
+ def sgids; end
500
+
501
+ # Whether we're simulating a login shell
502
+ #
503
+ # @return [Boolean]
504
+ #
505
+ # source://mixlib-shellout//lib/mixlib/shellout/unix.rb#36
506
+ def using_login?; end
507
+
508
+ # Option validation that is unix specific
509
+ #
510
+ # source://mixlib-shellout//lib/mixlib/shellout/unix.rb#29
511
+ def validate_options(opts); end
512
+
513
+ private
514
+
515
+ # source://mixlib-shellout//lib/mixlib/shellout/unix.rb#279
516
+ def attempt_buffer_read; end
517
+
518
+ # Try to reap the child process but don't block if it isn't dead yet.
519
+ #
520
+ # source://mixlib-shellout//lib/mixlib/shellout/unix.rb#408
521
+ def attempt_reap; end
522
+
523
+ # Since we call setsid the child_pgid will be the child_pid, set to negative here
524
+ # so it can be directly used in arguments to kill, wait, etc.
525
+ #
526
+ # source://mixlib-shellout//lib/mixlib/shellout/unix.rb#192
527
+ def child_pgid; end
528
+
529
+ # source://mixlib-shellout//lib/mixlib/shellout/unix.rb#213
530
+ def child_process_status; end
531
+
532
+ # source://mixlib-shellout//lib/mixlib/shellout/unix.rb#209
533
+ def child_stderr; end
534
+
535
+ # source://mixlib-shellout//lib/mixlib/shellout/unix.rb#201
536
+ def child_stdin; end
537
+
538
+ # source://mixlib-shellout//lib/mixlib/shellout/unix.rb#205
539
+ def child_stdout; end
540
+
541
+ # source://mixlib-shellout//lib/mixlib/shellout/unix.rb#217
542
+ def close_all_pipes; end
543
+
544
+ # source://mixlib-shellout//lib/mixlib/shellout/unix.rb#250
545
+ def configure_parent_process_file_descriptors; end
546
+
547
+ # Replace stdout, and stderr with pipes to the parent, and close the
548
+ # reader side of the error marshaling side channel.
549
+ #
550
+ # If there is no input, close STDIN so when we exec,
551
+ # the new program will know it's never getting input ever.
552
+ #
553
+ # source://mixlib-shellout//lib/mixlib/shellout/unix.rb#229
554
+ def configure_subprocess_file_descriptors; end
555
+
556
+ # source://mixlib-shellout//lib/mixlib/shellout/unix.rb#318
557
+ def fork_subprocess; end
558
+
559
+ # source://mixlib-shellout//lib/mixlib/shellout/unix.rb#196
560
+ def initialize_ipc; end
561
+
562
+ # Some patch levels of ruby in wide use (in particular the ruby 1.8.6 on OSX)
563
+ # segfault when you IO.select a pipe that's reached eof. Weak sauce.
564
+ #
565
+ # source://mixlib-shellout//lib/mixlib/shellout/unix.rb#267
566
+ def open_pipes; end
567
+
568
+ # Attempt to get a Marshaled error from the side-channel.
569
+ # If it's there, un-marshal it and raise. If it's not there,
570
+ # assume everything went well.
571
+ #
572
+ # source://mixlib-shellout//lib/mixlib/shellout/unix.rb#358
573
+ def propagate_pre_exec_failure; end
574
+
575
+ # source://mixlib-shellout//lib/mixlib/shellout/unix.rb#309
576
+ def read_process_status_to_buffer; end
577
+
578
+ # source://mixlib-shellout//lib/mixlib/shellout/unix.rb#299
579
+ def read_stderr_to_buffer; end
580
+
581
+ # source://mixlib-shellout//lib/mixlib/shellout/unix.rb#289
582
+ def read_stdout_to_buffer; end
583
+
584
+ # Unconditionally reap the child process. This is used in scenarios where
585
+ # we can be confident the child will exit quickly, and has not spawned
586
+ # and grandchild processes.
587
+ #
588
+ # source://mixlib-shellout//lib/mixlib/shellout/unix.rb#395
589
+ def reap; end
590
+
591
+ # source://mixlib-shellout//lib/mixlib/shellout/unix.rb#369
592
+ def reap_errant_child; end
593
+
594
+ # source://mixlib-shellout//lib/mixlib/shellout/unix.rb#186
595
+ def set_cwd; end
596
+
597
+ # source://mixlib-shellout//lib/mixlib/shellout/unix.rb#175
598
+ def set_environment; end
599
+
600
+ # source://mixlib-shellout//lib/mixlib/shellout/unix.rb#162
601
+ def set_group; end
602
+
603
+ # source://mixlib-shellout//lib/mixlib/shellout/unix.rb#169
604
+ def set_secondarygroups; end
605
+
606
+ # source://mixlib-shellout//lib/mixlib/shellout/unix.rb#182
607
+ def set_umask; end
608
+
609
+ # source://mixlib-shellout//lib/mixlib/shellout/unix.rb#155
610
+ def set_user; end
611
+
612
+ # @return [Boolean]
613
+ #
614
+ # source://mixlib-shellout//lib/mixlib/shellout/unix.rb#387
615
+ def should_reap?; end
616
+
617
+ # Keep this unbuffered for now
618
+ #
619
+ # source://mixlib-shellout//lib/mixlib/shellout/unix.rb#272
620
+ def write_to_child_stdin; end
621
+ end
622
+
623
+ # "1.8.7" as a frozen string. We use this with a hack that disables GC to
624
+ # avoid segfaults on Ruby 1.8.7, so we need to allocate the fewest
625
+ # objects we possibly can.
626
+ #
627
+ # source://mixlib-shellout//lib/mixlib/shellout/unix.rb#26
628
+ Mixlib::ShellOut::Unix::ONE_DOT_EIGHT_DOT_SEVEN = T.let(T.unsafe(nil), String)
@@ -1722,7 +1722,7 @@ class RBI::Rewriters::Merge::Conflict < ::T::Struct
1722
1722
  def to_s; end
1723
1723
 
1724
1724
  class << self
1725
- # source://sorbet-runtime/0.5.10990/lib/types/struct.rb#13
1725
+ # source://sorbet-runtime/0.5.10993/lib/types/struct.rb#13
1726
1726
  def inherited(s); end
1727
1727
  end
1728
1728
  end
@@ -1934,7 +1934,7 @@ class RBI::Rewriters::RemoveKnownDefinitions::Operation < ::T::Struct
1934
1934
  def to_s; end
1935
1935
 
1936
1936
  class << self
1937
- # source://sorbet-runtime/0.5.10990/lib/types/struct.rb#13
1937
+ # source://sorbet-runtime/0.5.10993/lib/types/struct.rb#13
1938
1938
  def inherited(s); end
1939
1939
  end
1940
1940
  end