nonnative 1.10.0 → 1.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/nonnative/command.rb +4 -0
- data/lib/nonnative/server.rb +5 -0
- data/lib/nonnative/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4a5cb014d7be492fca744eb85ac93dc367935a8ac2e3693e133833597a3bd549
|
4
|
+
data.tar.gz: ff5f799bb3dd66da7d9d933b0c16a596e43841a9bbcb2c87573de03a1dbf5f2f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ca60a62a4fffa470f50afabe68e51eb3ed93c139c06c4f6cd12a061058c7ef92f75e025ae4fa4eaeae456a47511a97f305c5d3dcdbfb8f090406f2567db4ccc1
|
7
|
+
data.tar.gz: 53b1f5fba7553ccac0cfada04affa93e0cf7c22c9778d807b70376f5fa7f542b61d262311daac903ae3d929828fcfaac6f053a91377b4b8cf2c4124c4e5fbe79
|
data/Gemfile.lock
CHANGED
data/lib/nonnative/command.rb
CHANGED
@@ -15,6 +15,8 @@ module Nonnative
|
|
15
15
|
unless started
|
16
16
|
@pid = spawn(process.command, %i[out err] => [process.file, 'a'])
|
17
17
|
@started = true
|
18
|
+
|
19
|
+
sleep 0.1 # Processes take time to start
|
18
20
|
end
|
19
21
|
|
20
22
|
pid
|
@@ -26,6 +28,8 @@ module Nonnative
|
|
26
28
|
::Process.kill('SIGINT', pid)
|
27
29
|
@started = false
|
28
30
|
|
31
|
+
sleep 0.1 # Processes take time to stop
|
32
|
+
|
29
33
|
pid
|
30
34
|
end
|
31
35
|
|
data/lib/nonnative/server.rb
CHANGED
data/lib/nonnative/version.rb
CHANGED