mootool 0.2.7 → 0.2.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +7 -0
- data/Gemfile +1 -0
- data/Gemfile.lock +71 -67
- data/lib/mootool/command.rb +1 -0
- data/lib/mootool/controller_base.rb +1 -0
- data/lib/mootool/controllers/dwarf.rb +2 -1
- data/lib/mootool/controllers/dyld_linker.rb +1 -0
- data/lib/mootool/controllers/dyld_shared_cache.rb +1 -0
- data/lib/mootool/controllers/fat_binary.rb +1 -0
- data/lib/mootool/controllers/kernel_collection.rb +4 -3
- data/lib/mootool/controllers/sections.rb +1 -0
- data/lib/mootool/core_extensions.rb +3 -3
- data/lib/mootool/models/decompressor.rb +5 -2
- data/lib/mootool/models/device_tree.rb +5 -3
- data/lib/mootool/models/img4.rb +2 -1
- data/lib/mootool/models/ipsw.rb +5 -1
- data/lib/mootool/version.rb +2 -1
- data/lib/mootool.rb +1 -0
- data/sorbet/config +1 -1
- data/sorbet/rbi/annotations/.gitattributes +1 -0
- data/sorbet/rbi/annotations/rainbow.rbi +2 -2
- data/sorbet/rbi/gems/.gitattributes +1 -0
- data/sorbet/rbi/gems/ast@2.4.2.rbi +48 -82
- data/sorbet/rbi/gems/childprocess@4.1.0.rbi +107 -153
- data/sorbet/rbi/gems/diff-lcs@1.5.0.rbi +192 -332
- data/sorbet/rbi/gems/docile@1.4.0.rbi +376 -0
- data/sorbet/rbi/gems/erubi@1.12.0.rbi +146 -0
- data/sorbet/rbi/gems/iniparse@1.5.0.rbi +166 -276
- data/sorbet/rbi/gems/{json@2.6.2.rbi → json@2.6.3.rbi} +119 -228
- data/sorbet/rbi/gems/language_server-protocol@3.17.0.3.rbi +14237 -0
- data/sorbet/rbi/gems/lzfse@0.0.2.rbi +55 -0
- data/sorbet/rbi/gems/lzss@0.1.rbi +8 -0
- data/sorbet/rbi/gems/netrc@0.11.0.rbi +52 -80
- data/sorbet/rbi/gems/{overcommit@0.59.1.rbi → overcommit@0.60.0.rbi} +534 -887
- data/sorbet/rbi/gems/parallel@1.23.0.rbi +273 -0
- data/sorbet/rbi/gems/parser@3.2.2.4.rbi +5451 -0
- data/sorbet/rbi/gems/{plist@3.6.0.rbi → plist@3.7.0.rbi} +125 -3
- data/sorbet/rbi/gems/prettier_print@1.2.1.rbi +951 -0
- data/sorbet/rbi/gems/prism@0.17.1.rbi +27700 -0
- data/sorbet/rbi/gems/racc@1.7.3.rbi +161 -0
- data/sorbet/rbi/gems/rainbow@3.1.1.rbi +141 -191
- data/sorbet/rbi/gems/rake@13.1.0.rbi +2887 -0
- data/sorbet/rbi/gems/{rbi@0.0.15.rbi → rbi@0.1.4.rbi} +979 -1676
- data/sorbet/rbi/gems/regexp_parser@2.8.2.rbi +3749 -0
- data/sorbet/rbi/gems/{rexml@3.2.5.rbi → rexml@3.2.6.rbi} +811 -1268
- data/sorbet/rbi/gems/{rspec-core@3.11.0.rbi → rspec-core@3.12.2.rbi} +2662 -4722
- data/sorbet/rbi/gems/{rspec-expectations@3.11.0.rbi → rspec-expectations@3.12.3.rbi} +1557 -2608
- data/sorbet/rbi/gems/rspec-mocks@3.12.6.rbi +5306 -0
- data/sorbet/rbi/gems/rspec-support@3.12.1.rbi +1609 -0
- data/sorbet/rbi/gems/rspec@3.12.0.rbi +82 -0
- data/sorbet/rbi/gems/rubocop-ast@1.30.0.rbi +7090 -0
- data/sorbet/rbi/gems/rubocop-capybara@2.19.0.rbi +1125 -0
- data/sorbet/rbi/gems/rubocop-factory_bot@2.24.0.rbi +878 -0
- data/sorbet/rbi/gems/rubocop-rake@0.6.0.rbi +88 -173
- data/sorbet/rbi/gems/rubocop-rspec@2.25.0.rbi +7997 -0
- data/sorbet/rbi/gems/rubocop@1.57.2.rbi +56813 -0
- data/sorbet/rbi/gems/ruby-lzma@0.4.3.rbi +19 -0
- data/sorbet/rbi/gems/ruby-macho@3.0.0.rbi +899 -1237
- data/sorbet/rbi/gems/ruby-progressbar@1.13.0.rbi +1317 -0
- data/sorbet/rbi/gems/rubyzip@2.3.2.rbi +808 -1275
- data/sorbet/rbi/gems/simplecov-html@0.12.3.rbi +216 -0
- data/sorbet/rbi/gems/simplecov@0.22.0.rbi +2148 -0
- data/sorbet/rbi/gems/simplecov_json_formatter@0.1.4.rbi +8 -0
- data/sorbet/rbi/gems/spoom@1.2.4.rbi +3777 -0
- data/sorbet/rbi/gems/syntax_tree@6.2.0.rbi +23136 -0
- data/sorbet/rbi/gems/tapioca@0.11.12.rbi +3507 -0
- data/sorbet/rbi/gems/unicode-display_width@2.5.0.rbi +65 -0
- data/sorbet/rbi/gems/yard-sorbet@0.8.1.rbi +428 -0
- data/sorbet/rbi/gems/{yard@0.9.28.rbi → yard@0.9.34.rbi} +4531 -7160
- data/sorbet/rbi/sorbet-typed/lib/rainbow/all/rainbow.rbi +24 -72
- data/sorbet/rbi/sorbet-typed/lib/rake/all/rake.rbi +385 -1697
- data/sorbet/rbi/sorbet-typed/lib/rspec-core/all/rspec-core.rbi +7 -30
- data/sorbet/rbi/sorbet-typed/lib/rubocop/>=1.8/rubocop.rbi +1 -3
- data/sorbet/rbi/sorbet-typed/lib/thor/all/thor.rbi +905 -0
- data/sorbet/rbi/sorbet-typed/lib/yard/all/yard.rbi +35 -0
- data/sorbet/tapioca/require.rb +13 -1
- metadata +47 -35
- data/sorbet/rbi/gems/coderay@1.1.3.rbi +0 -8
- data/sorbet/rbi/gems/method_source@1.0.0.rbi +0 -8
- data/sorbet/rbi/gems/parallel@1.22.1.rbi +0 -353
- data/sorbet/rbi/gems/parser@3.1.2.1.rbi +0 -6198
- data/sorbet/rbi/gems/pry@0.14.1.rbi +0 -8
- data/sorbet/rbi/gems/rake@13.0.6.rbi +0 -3587
- data/sorbet/rbi/gems/regexp_parser@2.5.0.rbi +0 -3927
- data/sorbet/rbi/gems/rspec-mocks@3.11.1.rbi +0 -6506
- data/sorbet/rbi/gems/rspec-support@3.11.0.rbi +0 -2040
- data/sorbet/rbi/gems/rspec@3.11.0.rbi +0 -120
- data/sorbet/rbi/gems/rubocop-ast@1.21.0.rbi +0 -7990
- data/sorbet/rbi/gems/rubocop-rspec@2.12.1.rbi +0 -7604
- data/sorbet/rbi/gems/rubocop@1.35.0.rbi +0 -62260
- data/sorbet/rbi/gems/ruby-progressbar@1.11.0.rbi +0 -1445
- data/sorbet/rbi/gems/spoom@1.1.12.rbi +0 -2829
- data/sorbet/rbi/gems/tapioca@0.9.3.rbi +0 -2151
- data/sorbet/rbi/gems/thor@1.2.1.rbi +0 -4532
- data/sorbet/rbi/gems/unicode-display_width@2.2.0.rbi +0 -60
- data/sorbet/rbi/gems/unparser@0.6.5.rbi +0 -8
- data/sorbet/rbi/gems/webrick@1.7.0.rbi +0 -3075
- data/sorbet/rbi/gems/yard-sorbet@0.6.1.rbi +0 -458
- data/sorbet/rbi/todo.rbi +0 -7
@@ -4,95 +4,83 @@
|
|
4
4
|
# This is an autogenerated file for types exported from the `childprocess` gem.
|
5
5
|
# Please instead update this file by running `bin/tapioca gem childprocess`.
|
6
6
|
|
7
|
-
# source://childprocess
|
7
|
+
# source://childprocess//lib/childprocess/version.rb#1
|
8
8
|
module ChildProcess
|
9
9
|
class << self
|
10
|
-
# source://childprocess
|
10
|
+
# source://childprocess//lib/childprocess.rb#131
|
11
11
|
def arch; end
|
12
12
|
|
13
|
-
# source://childprocess
|
14
|
-
def build(*args)
|
15
|
-
;
|
16
|
-
end
|
13
|
+
# source://childprocess//lib/childprocess.rb#15
|
14
|
+
def build(*args); end
|
17
15
|
|
18
16
|
# By default, a child process will inherit open file descriptors from the
|
19
17
|
# parent process. This helper provides a cross-platform way of making sure
|
20
18
|
# that doesn't happen for the given file/io.
|
21
19
|
#
|
22
|
-
# source://childprocess
|
23
|
-
def close_on_exec(file)
|
24
|
-
;
|
25
|
-
end
|
20
|
+
# source://childprocess//lib/childprocess.rb#158
|
21
|
+
def close_on_exec(file); end
|
26
22
|
|
27
23
|
# @return [Boolean]
|
28
24
|
#
|
29
|
-
# source://childprocess
|
25
|
+
# source://childprocess//lib/childprocess.rb#64
|
30
26
|
def jruby?; end
|
31
27
|
|
32
28
|
# @return [Boolean]
|
33
29
|
#
|
34
|
-
# source://childprocess
|
30
|
+
# source://childprocess//lib/childprocess.rb#60
|
35
31
|
def linux?; end
|
36
32
|
|
37
|
-
# source://childprocess
|
33
|
+
# source://childprocess//lib/childprocess.rb#33
|
38
34
|
def logger; end
|
39
35
|
|
40
36
|
# Sets the attribute logger
|
41
37
|
#
|
42
38
|
# @param value the value to set the attribute logger to.
|
43
39
|
#
|
44
|
-
# source://childprocess
|
45
|
-
def logger=(_arg0)
|
46
|
-
;
|
47
|
-
end
|
40
|
+
# source://childprocess//lib/childprocess.rb#13
|
41
|
+
def logger=(_arg0); end
|
48
42
|
|
49
|
-
# source://childprocess
|
50
|
-
def new(*args)
|
51
|
-
;
|
52
|
-
end
|
43
|
+
# source://childprocess//lib/childprocess.rb#15
|
44
|
+
def new(*args); end
|
53
45
|
|
54
|
-
# source://childprocess
|
46
|
+
# source://childprocess//lib/childprocess.rb#105
|
55
47
|
def os; end
|
56
48
|
|
57
|
-
# source://childprocess
|
49
|
+
# source://childprocess//lib/childprocess.rb#42
|
58
50
|
def platform; end
|
59
51
|
|
60
|
-
# source://childprocess
|
52
|
+
# source://childprocess//lib/childprocess.rb#52
|
61
53
|
def platform_name; end
|
62
54
|
|
63
55
|
# Set this to true to enable experimental use of posix_spawn.
|
64
56
|
#
|
65
|
-
# source://childprocess
|
66
|
-
def posix_spawn=(bool)
|
67
|
-
;
|
68
|
-
end
|
57
|
+
# source://childprocess//lib/childprocess.rb#101
|
58
|
+
def posix_spawn=(bool); end
|
69
59
|
|
70
60
|
# @return [Boolean]
|
71
61
|
#
|
72
|
-
# source://childprocess
|
62
|
+
# source://childprocess//lib/childprocess.rb#72
|
73
63
|
def posix_spawn?; end
|
74
64
|
|
75
65
|
# @return [Boolean]
|
76
66
|
#
|
77
|
-
# source://childprocess
|
67
|
+
# source://childprocess//lib/childprocess.rb#56
|
78
68
|
def unix?; end
|
79
69
|
|
80
70
|
# @return [Boolean]
|
81
71
|
#
|
82
|
-
# source://childprocess
|
72
|
+
# source://childprocess//lib/childprocess.rb#68
|
83
73
|
def windows?; end
|
84
74
|
|
85
75
|
private
|
86
76
|
|
87
77
|
# @return [Boolean] `true` if this Ruby represents `1` in 64 bits (8 bytes).
|
88
78
|
#
|
89
|
-
# source://childprocess
|
79
|
+
# source://childprocess//lib/childprocess.rb#199
|
90
80
|
def is_64_bit?; end
|
91
81
|
|
92
|
-
# source://childprocess
|
93
|
-
def warn_once(msg)
|
94
|
-
;
|
95
|
-
end
|
82
|
+
# source://childprocess//lib/childprocess.rb#179
|
83
|
+
def warn_once(msg); end
|
96
84
|
|
97
85
|
# Workaround: detect the situation that an older Darwin Ruby is actually
|
98
86
|
# 64-bit, but is misreporting cpu as i686, which would imply 32-bit.
|
@@ -101,59 +89,51 @@ module ChildProcess
|
|
101
89
|
# (a) on Mac OS X
|
102
90
|
# (b) actually running in 64-bit mode
|
103
91
|
#
|
104
|
-
# source://childprocess
|
92
|
+
# source://childprocess//lib/childprocess.rb#194
|
105
93
|
def workaround_older_macosx_misreported_cpu?; end
|
106
94
|
end
|
107
95
|
end
|
108
96
|
|
109
|
-
# source://childprocess
|
97
|
+
# source://childprocess//lib/childprocess/abstract_io.rb#2
|
110
98
|
class ChildProcess::AbstractIO
|
111
99
|
# @api private
|
112
100
|
#
|
113
|
-
# source://childprocess
|
114
|
-
def _stdin=(io)
|
115
|
-
;
|
116
|
-
end
|
101
|
+
# source://childprocess//lib/childprocess/abstract_io.rb#24
|
102
|
+
def _stdin=(io); end
|
117
103
|
|
118
|
-
# source://childprocess
|
104
|
+
# source://childprocess//lib/childprocess/abstract_io.rb#5
|
119
105
|
def inherit!; end
|
120
106
|
|
121
107
|
# Returns the value of attribute stderr.
|
122
108
|
#
|
123
|
-
# source://childprocess
|
109
|
+
# source://childprocess//lib/childprocess/abstract_io.rb#3
|
124
110
|
def stderr; end
|
125
111
|
|
126
|
-
# source://childprocess
|
127
|
-
def stderr=(io)
|
128
|
-
;
|
129
|
-
end
|
112
|
+
# source://childprocess//lib/childprocess/abstract_io.rb#10
|
113
|
+
def stderr=(io); end
|
130
114
|
|
131
115
|
# Returns the value of attribute stdin.
|
132
116
|
#
|
133
|
-
# source://childprocess
|
117
|
+
# source://childprocess//lib/childprocess/abstract_io.rb#3
|
134
118
|
def stdin; end
|
135
119
|
|
136
120
|
# Returns the value of attribute stdout.
|
137
121
|
#
|
138
|
-
# source://childprocess
|
122
|
+
# source://childprocess//lib/childprocess/abstract_io.rb#3
|
139
123
|
def stdout; end
|
140
124
|
|
141
|
-
# source://childprocess
|
142
|
-
def stdout=(io)
|
143
|
-
;
|
144
|
-
end
|
125
|
+
# source://childprocess//lib/childprocess/abstract_io.rb#15
|
126
|
+
def stdout=(io); end
|
145
127
|
|
146
128
|
private
|
147
129
|
|
148
130
|
# @raise [SubclassResponsibility]
|
149
131
|
#
|
150
|
-
# source://childprocess
|
151
|
-
def check_type(io)
|
152
|
-
;
|
153
|
-
end
|
132
|
+
# source://childprocess//lib/childprocess/abstract_io.rb#31
|
133
|
+
def check_type(io); end
|
154
134
|
end
|
155
135
|
|
156
|
-
# source://childprocess
|
136
|
+
# source://childprocess//lib/childprocess/abstract_process.rb#2
|
157
137
|
class ChildProcess::AbstractProcess
|
158
138
|
# Create a new process with the given args.
|
159
139
|
#
|
@@ -161,69 +141,61 @@ class ChildProcess::AbstractProcess
|
|
161
141
|
# @return [AbstractProcess] a new instance of AbstractProcess
|
162
142
|
# @see ChildProcess.build
|
163
143
|
#
|
164
|
-
# source://childprocess
|
165
|
-
def initialize(args)
|
166
|
-
;
|
167
|
-
end
|
144
|
+
# source://childprocess//lib/childprocess/abstract_process.rb#42
|
145
|
+
def initialize(args); end
|
168
146
|
|
169
147
|
# Is this process running?
|
170
148
|
#
|
171
149
|
# @return [Boolean]
|
172
150
|
#
|
173
|
-
# source://childprocess
|
151
|
+
# source://childprocess//lib/childprocess/abstract_process.rb#133
|
174
152
|
def alive?; end
|
175
153
|
|
176
154
|
# Returns true if the process has exited and the exit code was not 0.
|
177
155
|
#
|
178
156
|
# @return [Boolean]
|
179
157
|
#
|
180
|
-
# source://childprocess
|
158
|
+
# source://childprocess//lib/childprocess/abstract_process.rb#143
|
181
159
|
def crashed?; end
|
182
160
|
|
183
161
|
# Set the child's current working directory.
|
184
162
|
#
|
185
|
-
# source://childprocess
|
163
|
+
# source://childprocess//lib/childprocess/abstract_process.rb#25
|
186
164
|
def cwd; end
|
187
165
|
|
188
166
|
# Set the child's current working directory.
|
189
167
|
#
|
190
|
-
# source://childprocess
|
191
|
-
def cwd=(_arg0)
|
192
|
-
;
|
193
|
-
end
|
168
|
+
# source://childprocess//lib/childprocess/abstract_process.rb#25
|
169
|
+
def cwd=(_arg0); end
|
194
170
|
|
195
171
|
# Set this to true if you do not care about when or if the process quits.
|
196
172
|
#
|
197
|
-
# source://childprocess
|
173
|
+
# source://childprocess//lib/childprocess/abstract_process.rb#10
|
198
174
|
def detach; end
|
199
175
|
|
200
176
|
# Set this to true if you do not care about when or if the process quits.
|
201
177
|
#
|
202
|
-
# source://childprocess
|
203
|
-
def detach=(_arg0)
|
204
|
-
;
|
205
|
-
end
|
178
|
+
# source://childprocess//lib/childprocess/abstract_process.rb#10
|
179
|
+
def detach=(_arg0); end
|
206
180
|
|
207
181
|
# Set this to true if you want to write to the process' stdin (process.io.stdin)
|
208
182
|
#
|
209
|
-
# source://childprocess
|
183
|
+
# source://childprocess//lib/childprocess/abstract_process.rb#15
|
210
184
|
def duplex; end
|
211
185
|
|
212
186
|
# Set this to true if you want to write to the process' stdin (process.io.stdin)
|
213
187
|
#
|
214
|
-
# source://childprocess
|
215
|
-
def duplex=(_arg0)
|
216
|
-
;
|
217
|
-
end
|
188
|
+
# source://childprocess//lib/childprocess/abstract_process.rb#15
|
189
|
+
def duplex=(_arg0); end
|
218
190
|
|
219
191
|
# Modify the child's environment variables
|
220
192
|
#
|
221
|
-
# source://childprocess
|
193
|
+
# source://childprocess//lib/childprocess/abstract_process.rb#20
|
222
194
|
def environment; end
|
223
195
|
|
224
196
|
# Returns the value of attribute exit_code.
|
225
197
|
#
|
226
|
-
# source://childprocess
|
198
|
+
# source://childprocess//lib/childprocess/abstract_process.rb#5
|
227
199
|
def exit_code; end
|
228
200
|
|
229
201
|
# Did the process exit?
|
@@ -231,14 +203,14 @@ class ChildProcess::AbstractProcess
|
|
231
203
|
# @raise [SubclassResponsibility]
|
232
204
|
# @return [Boolean]
|
233
205
|
#
|
234
|
-
# source://childprocess
|
206
|
+
# source://childprocess//lib/childprocess/abstract_process.rb#113
|
235
207
|
def exited?; end
|
236
208
|
|
237
209
|
# Returns a ChildProcess::AbstractIO subclass to configure the child's IO streams.
|
238
210
|
#
|
239
211
|
# @raise [SubclassResponsibility]
|
240
212
|
#
|
241
|
-
# source://childprocess
|
213
|
+
# source://childprocess//lib/childprocess/abstract_process.rb#62
|
242
214
|
def io; end
|
243
215
|
|
244
216
|
# Set this to true to make the child process the leader of a new process group
|
@@ -246,7 +218,7 @@ class ChildProcess::AbstractProcess
|
|
246
218
|
# This can be used to make sure that all grandchildren are killed
|
247
219
|
# when the child process dies.
|
248
220
|
#
|
249
|
-
# source://childprocess
|
221
|
+
# source://childprocess//lib/childprocess/abstract_process.rb#33
|
250
222
|
def leader; end
|
251
223
|
|
252
224
|
# Set this to true to make the child process the leader of a new process group
|
@@ -254,37 +226,33 @@ class ChildProcess::AbstractProcess
|
|
254
226
|
# This can be used to make sure that all grandchildren are killed
|
255
227
|
# when the child process dies.
|
256
228
|
#
|
257
|
-
# source://childprocess
|
258
|
-
def leader=(_arg0)
|
259
|
-
;
|
260
|
-
end
|
229
|
+
# source://childprocess//lib/childprocess/abstract_process.rb#33
|
230
|
+
def leader=(_arg0); end
|
261
231
|
|
262
232
|
# @raise [SubclassResponsibility]
|
263
233
|
# @return [Integer] the pid of the process after it has started
|
264
234
|
#
|
265
|
-
# source://childprocess
|
235
|
+
# source://childprocess//lib/childprocess/abstract_process.rb#70
|
266
236
|
def pid; end
|
267
237
|
|
268
238
|
# Wait for the process to exit, raising a ChildProcess::TimeoutError if
|
269
239
|
# the timeout expires.
|
270
240
|
#
|
271
|
-
# source://childprocess
|
272
|
-
def poll_for_exit(timeout)
|
273
|
-
;
|
274
|
-
end
|
241
|
+
# source://childprocess//lib/childprocess/abstract_process.rb#152
|
242
|
+
def poll_for_exit(timeout); end
|
275
243
|
|
276
244
|
# Launch the child process
|
277
245
|
#
|
278
246
|
# @return [AbstractProcess] self
|
279
247
|
#
|
280
|
-
# source://childprocess
|
248
|
+
# source://childprocess//lib/childprocess/abstract_process.rb#80
|
281
249
|
def start; end
|
282
250
|
|
283
251
|
# Has the process started?
|
284
252
|
#
|
285
253
|
# @return [Boolean]
|
286
254
|
#
|
287
|
-
# source://childprocess
|
255
|
+
# source://childprocess//lib/childprocess/abstract_process.rb#123
|
288
256
|
def started?; end
|
289
257
|
|
290
258
|
# Forcibly terminate the process, using increasingly harsher methods if possible.
|
@@ -292,156 +260,142 @@ class ChildProcess::AbstractProcess
|
|
292
260
|
# @param timeout [Integer] (3) Seconds to wait before trying the next method.
|
293
261
|
# @raise [SubclassResponsibility]
|
294
262
|
#
|
295
|
-
# source://childprocess
|
296
|
-
def stop(timeout = T.unsafe(nil))
|
297
|
-
;
|
298
|
-
end
|
263
|
+
# source://childprocess//lib/childprocess/abstract_process.rb#93
|
264
|
+
def stop(timeout = T.unsafe(nil)); end
|
299
265
|
|
300
266
|
# Block until the process has been terminated.
|
301
267
|
#
|
302
268
|
# @raise [SubclassResponsibility]
|
303
269
|
# @return [Integer] The exit status of the process
|
304
270
|
#
|
305
|
-
# source://childprocess
|
271
|
+
# source://childprocess//lib/childprocess/abstract_process.rb#103
|
306
272
|
def wait; end
|
307
273
|
|
308
274
|
private
|
309
275
|
|
310
276
|
# @raise [Error]
|
311
277
|
#
|
312
|
-
# source://childprocess
|
278
|
+
# source://childprocess//lib/childprocess/abstract_process.rb#187
|
313
279
|
def assert_started; end
|
314
280
|
|
315
281
|
# @return [Boolean]
|
316
282
|
#
|
317
|
-
# source://childprocess
|
283
|
+
# source://childprocess//lib/childprocess/abstract_process.rb#171
|
318
284
|
def detach?; end
|
319
285
|
|
320
286
|
# @return [Boolean]
|
321
287
|
#
|
322
|
-
# source://childprocess
|
288
|
+
# source://childprocess//lib/childprocess/abstract_process.rb#175
|
323
289
|
def duplex?; end
|
324
290
|
|
325
291
|
# @raise [SubclassResponsibility]
|
326
292
|
#
|
327
|
-
# source://childprocess
|
293
|
+
# source://childprocess//lib/childprocess/abstract_process.rb#167
|
328
294
|
def launch_process; end
|
329
295
|
|
330
296
|
# @return [Boolean]
|
331
297
|
#
|
332
|
-
# source://childprocess
|
298
|
+
# source://childprocess//lib/childprocess/abstract_process.rb#179
|
333
299
|
def leader?; end
|
334
300
|
|
335
|
-
# source://childprocess
|
336
|
-
def log(*args)
|
337
|
-
;
|
338
|
-
end
|
301
|
+
# source://childprocess//lib/childprocess/abstract_process.rb#183
|
302
|
+
def log(*args); end
|
339
303
|
end
|
340
304
|
|
341
|
-
# source://childprocess
|
305
|
+
# source://childprocess//lib/childprocess/abstract_process.rb#3
|
342
306
|
ChildProcess::AbstractProcess::POLL_INTERVAL = T.let(T.unsafe(nil), Float)
|
343
307
|
|
344
|
-
# source://childprocess
|
308
|
+
# source://childprocess//lib/childprocess/errors.rb#2
|
345
309
|
class ChildProcess::Error < ::StandardError; end
|
346
310
|
|
347
|
-
# source://childprocess
|
311
|
+
# source://childprocess//lib/childprocess/errors.rb#11
|
348
312
|
class ChildProcess::InvalidEnvironmentVariable < ::ChildProcess::Error; end
|
349
313
|
|
350
|
-
# source://childprocess
|
314
|
+
# source://childprocess//lib/childprocess/errors.rb#14
|
351
315
|
class ChildProcess::LaunchError < ::ChildProcess::Error; end
|
352
316
|
|
353
|
-
# source://childprocess
|
317
|
+
# source://childprocess//lib/childprocess/errors.rb#17
|
354
318
|
class ChildProcess::MissingFFIError < ::ChildProcess::Error
|
355
319
|
# @return [MissingFFIError] a new instance of MissingFFIError
|
356
320
|
#
|
357
|
-
# source://childprocess
|
321
|
+
# source://childprocess//lib/childprocess/errors.rb#18
|
358
322
|
def initialize; end
|
359
323
|
end
|
360
324
|
|
361
|
-
# source://childprocess
|
325
|
+
# source://childprocess//lib/childprocess/errors.rb#28
|
362
326
|
class ChildProcess::MissingPlatformError < ::ChildProcess::Error
|
363
327
|
# @return [MissingPlatformError] a new instance of MissingPlatformError
|
364
328
|
#
|
365
|
-
# source://childprocess
|
329
|
+
# source://childprocess//lib/childprocess/errors.rb#29
|
366
330
|
def initialize; end
|
367
331
|
end
|
368
332
|
|
369
|
-
# source://childprocess
|
333
|
+
# source://childprocess//lib/childprocess/errors.rb#8
|
370
334
|
class ChildProcess::SubclassResponsibility < ::ChildProcess::Error; end
|
371
335
|
|
372
|
-
# source://childprocess
|
336
|
+
# source://childprocess//lib/childprocess/errors.rb#5
|
373
337
|
class ChildProcess::TimeoutError < ::ChildProcess::Error; end
|
374
338
|
|
375
|
-
# source://childprocess
|
376
|
-
module ChildProcess::Unix
|
377
|
-
;
|
378
|
-
end
|
339
|
+
# source://childprocess//lib/childprocess/unix.rb#2
|
340
|
+
module ChildProcess::Unix; end
|
379
341
|
|
380
|
-
# source://childprocess
|
342
|
+
# source://childprocess//lib/childprocess/unix/fork_exec_process.rb#3
|
381
343
|
class ChildProcess::Unix::ForkExecProcess < ::ChildProcess::Unix::Process
|
382
344
|
private
|
383
345
|
|
384
|
-
# source://childprocess
|
346
|
+
# source://childprocess//lib/childprocess/unix/fork_exec_process.rb#6
|
385
347
|
def launch_process; end
|
386
348
|
|
387
|
-
# source://childprocess
|
349
|
+
# source://childprocess//lib/childprocess/unix/fork_exec_process.rb#72
|
388
350
|
def set_env; end
|
389
351
|
end
|
390
352
|
|
391
|
-
# source://childprocess
|
353
|
+
# source://childprocess//lib/childprocess/unix/io.rb#3
|
392
354
|
class ChildProcess::Unix::IO < ::ChildProcess::AbstractIO
|
393
355
|
private
|
394
356
|
|
395
|
-
# source://childprocess
|
396
|
-
def check_type(io)
|
397
|
-
;
|
398
|
-
end
|
357
|
+
# source://childprocess//lib/childprocess/unix/io.rb#6
|
358
|
+
def check_type(io); end
|
399
359
|
end
|
400
360
|
|
401
|
-
# source://childprocess
|
361
|
+
# source://childprocess//lib/childprocess/unix/process.rb#3
|
402
362
|
class ChildProcess::Unix::Process < ::ChildProcess::AbstractProcess
|
403
363
|
# @return [Boolean]
|
404
364
|
#
|
405
|
-
# source://childprocess
|
365
|
+
# source://childprocess//lib/childprocess/unix/process.rb#28
|
406
366
|
def exited?; end
|
407
367
|
|
408
|
-
# source://childprocess
|
368
|
+
# source://childprocess//lib/childprocess/unix/process.rb#6
|
409
369
|
def io; end
|
410
370
|
|
411
371
|
# Returns the value of attribute pid.
|
412
372
|
#
|
413
|
-
# source://childprocess
|
373
|
+
# source://childprocess//lib/childprocess/unix/process.rb#4
|
414
374
|
def pid; end
|
415
375
|
|
416
|
-
# source://childprocess
|
417
|
-
def stop(timeout = T.unsafe(nil))
|
418
|
-
;
|
419
|
-
end
|
376
|
+
# source://childprocess//lib/childprocess/unix/process.rb#10
|
377
|
+
def stop(timeout = T.unsafe(nil)); end
|
420
378
|
|
421
|
-
# source://childprocess
|
379
|
+
# source://childprocess//lib/childprocess/unix/process.rb#47
|
422
380
|
def wait; end
|
423
381
|
|
424
382
|
private
|
425
383
|
|
426
|
-
# source://childprocess
|
384
|
+
# source://childprocess//lib/childprocess/unix/process.rb#80
|
427
385
|
def _pid; end
|
428
386
|
|
429
|
-
# source://childprocess
|
387
|
+
# source://childprocess//lib/childprocess/unix/process.rb#65
|
430
388
|
def send_kill; end
|
431
389
|
|
432
|
-
# source://childprocess
|
433
|
-
def send_signal(sig)
|
434
|
-
;
|
435
|
-
end
|
390
|
+
# source://childprocess//lib/childprocess/unix/process.rb#69
|
391
|
+
def send_signal(sig); end
|
436
392
|
|
437
|
-
# source://childprocess
|
393
|
+
# source://childprocess//lib/childprocess/unix/process.rb#61
|
438
394
|
def send_term; end
|
439
395
|
|
440
|
-
# source://childprocess
|
441
|
-
def set_exit_code(status)
|
442
|
-
;
|
443
|
-
end
|
396
|
+
# source://childprocess//lib/childprocess/unix/process.rb#76
|
397
|
+
def set_exit_code(status); end
|
444
398
|
end
|
445
399
|
|
446
|
-
# source://childprocess
|
400
|
+
# source://childprocess//lib/childprocess/version.rb#2
|
447
401
|
ChildProcess::VERSION = T.let(T.unsafe(nil), String)
|