command_wrap 0.1 → 0.2
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of command_wrap might be problematic. Click here for more details.
- data/README +1 -1
- data/lib/command_wrap/open_office/server.rb +5 -5
- metadata +4 -4
data/README
CHANGED
@@ -4,18 +4,18 @@ module CommandWrap::OpenOffice
|
|
4
4
|
|
5
5
|
def self.start
|
6
6
|
pid1 = fork do
|
7
|
-
exec
|
7
|
+
exec CommandWrap::Config::OpenOffice.xvfb
|
8
8
|
end
|
9
9
|
sleep 5 # 5 seconden wachten tot xvfb draait
|
10
10
|
pid2 = fork do
|
11
|
-
exec
|
12
|
-
end
|
11
|
+
exec CommandWrap::Config::OpenOffice.command
|
12
|
+
end
|
13
13
|
end
|
14
14
|
|
15
15
|
def self.stop
|
16
|
-
`#{
|
16
|
+
`#{CommandWrap::Config::OpenOffice.stop_xvfb}`
|
17
17
|
sleep 5
|
18
|
-
`#{
|
18
|
+
`#{CommandWrap::Config::OpenOffice.stop}`
|
19
19
|
end
|
20
20
|
|
21
21
|
def self.restart
|
metadata
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: command_wrap
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 15
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
version: "0.
|
8
|
+
- 2
|
9
|
+
version: "0.2"
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Stefaan Colman
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2011-
|
17
|
+
date: 2011-03-07 00:00:00 +01:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|