cosmos 3.8.2 → 3.8.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (87) hide show
  1. checksums.yaml +4 -4
  2. data/Manifest.txt +5 -5
  3. data/Rakefile +8 -2
  4. data/autohotkey/tools/autohotkey.rb +3 -3
  5. data/data/crc.txt +27 -27
  6. data/demo/Launcher.bat +3 -3
  7. data/demo/config/data/crc.txt +27 -27
  8. data/demo/{procedures → config/targets/INST/procedures}/checks.rb +0 -0
  9. data/demo/{procedures → config/targets/INST/procedures}/collect.rb +2 -2
  10. data/demo/{procedures → config/targets/INST/procedures}/disconnect.rb +0 -0
  11. data/demo/{procedures/clear_util.rb → config/targets/INST/procedures/utilities/clear.rb} +0 -0
  12. data/demo/{procedures/collect_util.rb → config/targets/INST/procedures/utilities/collect.rb} +2 -2
  13. data/demo/config/targets/INST/screens/commanding.txt +3 -3
  14. data/demo/config/tools/table_manager/ExampleTableDefinition.txt +7 -7
  15. data/demo/procedures/plot_test.rb +1 -1
  16. data/demo/tools/CmdExtractor.bat +3 -3
  17. data/demo/tools/CmdSender.bat +3 -3
  18. data/demo/tools/CmdTlmServer.bat +3 -3
  19. data/demo/tools/DataViewer.bat +3 -3
  20. data/demo/tools/ExampleTarget.bat +3 -3
  21. data/demo/tools/HandbookCreator.bat +3 -3
  22. data/demo/tools/Launcher.bat +3 -3
  23. data/demo/tools/LimitsMonitor.bat +3 -3
  24. data/demo/tools/OpenGLBuilder.bat +3 -3
  25. data/demo/tools/PacketViewer.bat +3 -3
  26. data/demo/tools/Replay.bat +3 -3
  27. data/demo/tools/ScpiTarget.bat +3 -3
  28. data/demo/tools/ScriptRunner.bat +3 -3
  29. data/demo/tools/TableManager.bat +3 -3
  30. data/demo/tools/TestRunner.bat +3 -3
  31. data/demo/tools/TlmExtractor.bat +3 -3
  32. data/demo/tools/TlmGrapher.bat +3 -3
  33. data/demo/tools/TlmViewer.bat +3 -3
  34. data/demo/tools/ToolLaunch.bat +3 -6
  35. data/ext/cosmos/ext/packet/packet.c +10 -0
  36. data/install/config/data/crc.txt +17 -17
  37. data/install/tools/CmdExtractor.bat +3 -3
  38. data/install/tools/CmdSender.bat +3 -3
  39. data/install/tools/CmdTlmServer.bat +3 -3
  40. data/install/tools/DataViewer.bat +3 -3
  41. data/install/tools/HandbookCreator.bat +3 -3
  42. data/install/tools/Launcher.bat +3 -3
  43. data/install/tools/LimitsMonitor.bat +3 -3
  44. data/install/tools/OpenGLBuilder.bat +3 -3
  45. data/install/tools/PacketViewer.bat +3 -3
  46. data/install/tools/Replay.bat +3 -3
  47. data/install/tools/ScriptRunner.bat +3 -3
  48. data/install/tools/TableManager.bat +3 -3
  49. data/install/tools/TestRunner.bat +3 -3
  50. data/install/tools/TlmExtractor.bat +3 -3
  51. data/install/tools/TlmGrapher.bat +3 -3
  52. data/install/tools/TlmViewer.bat +3 -3
  53. data/install/tools/ToolLaunch.bat +3 -6
  54. data/lib/cosmos/config/config_parser.rb +10 -2
  55. data/lib/cosmos/gui/qt_tool.rb +6 -0
  56. data/lib/cosmos/gui/utilities/screenshot.rb +8 -0
  57. data/lib/cosmos/gui/utilities/script_module_gui.rb +37 -11
  58. data/lib/cosmos/interfaces/cmd_tlm_server_interface.rb +3 -3
  59. data/lib/cosmos/interfaces/udp_interface.rb +9 -2
  60. data/lib/cosmos/packet_logs/packet_log_reader.rb +1 -0
  61. data/lib/cosmos/packets/commands.rb +70 -74
  62. data/lib/cosmos/packets/packet.rb +14 -7
  63. data/lib/cosmos/script/scripting.rb +9 -7
  64. data/lib/cosmos/system/system.rb +4 -0
  65. data/lib/cosmos/system/target.rb +2 -0
  66. data/lib/cosmos/tools/cmd_tlm_server/api.rb +10 -10
  67. data/lib/cosmos/tools/cmd_tlm_server/gui/interfaces_tab.rb +2 -2
  68. data/lib/cosmos/tools/cmd_tlm_server/interface_thread.rb +1 -1
  69. data/lib/cosmos/tools/packet_viewer/packet_viewer.rb +5 -15
  70. data/lib/cosmos/tools/script_runner/script_runner.rb +40 -21
  71. data/lib/cosmos/tools/table_manager/table.rb +2 -2
  72. data/lib/cosmos/tools/table_manager/table_config.rb +18 -10
  73. data/lib/cosmos/tools/table_manager/table_manager.rb +61 -59
  74. data/lib/cosmos/tools/table_manager/table_manager_core.rb +24 -56
  75. data/lib/cosmos/tools/test_runner/test_runner.rb +15 -10
  76. data/lib/cosmos/tools/tlm_viewer/widgets/checkbutton_widget.rb +9 -2
  77. data/lib/cosmos/tools/tlm_viewer/widgets/combobox_widget.rb +1 -1
  78. data/lib/cosmos/tools/tlm_viewer/widgets/radiobutton_widget.rb +9 -1
  79. data/lib/cosmos/top_level.rb +5 -5
  80. data/lib/cosmos/version.rb +4 -4
  81. data/spec/config/config_parser_spec.rb +40 -2
  82. data/spec/packet_logs/packet_log_reader_spec.rb +66 -2
  83. data/spec/packets/packet_spec.rb +27 -0
  84. data/spec/script/scripting_spec.rb +7 -2
  85. data/spec/spec_helper.rb +4 -5
  86. data/spec/system/system_spec.rb +18 -0
  87. metadata +7 -7
@@ -1,9 +1,9 @@
1
1
  @ECHO OFF
2
2
 
3
- IF NOT EXIST %~dp0ToolLaunch.bat (
4
- echo %~dp0ToolLaunch.bat does not exist
3
+ IF NOT EXIST "%~dp0ToolLaunch.bat" (
4
+ echo "%~dp0ToolLaunch.bat" does not exist
5
5
  pause
6
6
  exit /b
7
7
  )
8
8
 
9
- call %~dp0ToolLaunch.bat rubyw.exe %~n0 %*
9
+ call "%~dp0ToolLaunch.bat" rubyw.exe %~n0 %*
@@ -1,9 +1,9 @@
1
1
  @ECHO OFF
2
2
 
3
- IF NOT EXIST %~dp0ToolLaunch.bat (
4
- echo %~dp0ToolLaunch.bat does not exist
3
+ IF NOT EXIST "%~dp0ToolLaunch.bat" (
4
+ echo "%~dp0ToolLaunch.bat" does not exist
5
5
  pause
6
6
  exit /b
7
7
  )
8
8
 
9
- call %~dp0ToolLaunch.bat ruby.exe %~n0 %*
9
+ call "%~dp0ToolLaunch.bat" ruby.exe %~n0 %*
@@ -1,9 +1,9 @@
1
1
  @ECHO OFF
2
2
 
3
- IF NOT EXIST %~dp0ToolLaunch.bat (
4
- echo %~dp0ToolLaunch.bat does not exist
3
+ IF NOT EXIST "%~dp0ToolLaunch.bat" (
4
+ echo "%~dp0ToolLaunch.bat" does not exist
5
5
  pause
6
6
  exit /b
7
7
  )
8
8
 
9
- call %~dp0ToolLaunch.bat rubyw.exe %~n0 %*
9
+ call "%~dp0ToolLaunch.bat" rubyw.exe %~n0 %*
@@ -1,9 +1,9 @@
1
1
  @ECHO OFF
2
2
 
3
- IF NOT EXIST %~dp0ToolLaunch.bat (
4
- echo %~dp0ToolLaunch.bat does not exist
3
+ IF NOT EXIST "%~dp0ToolLaunch.bat" (
4
+ echo "%~dp0ToolLaunch.bat" does not exist
5
5
  pause
6
6
  exit /b
7
7
  )
8
8
 
9
- call %~dp0ToolLaunch.bat rubyw.exe %~n0 %*
9
+ call "%~dp0ToolLaunch.bat" rubyw.exe %~n0 %*
@@ -1,9 +1,9 @@
1
1
  @ECHO OFF
2
2
 
3
- IF NOT EXIST %~dp0ToolLaunch.bat (
4
- echo %~dp0ToolLaunch.bat does not exist
3
+ IF NOT EXIST "%~dp0ToolLaunch.bat" (
4
+ echo "%~dp0ToolLaunch.bat" does not exist
5
5
  pause
6
6
  exit /b
7
7
  )
8
8
 
9
- call %~dp0ToolLaunch.bat rubyw.exe %~n0 %*
9
+ call "%~dp0ToolLaunch.bat" rubyw.exe %~n0 %*
@@ -1,9 +1,9 @@
1
1
  @ECHO OFF
2
2
 
3
- IF NOT EXIST %~dp0ToolLaunch.bat (
4
- echo %~dp0ToolLaunch.bat does not exist
3
+ IF NOT EXIST "%~dp0ToolLaunch.bat" (
4
+ echo "%~dp0ToolLaunch.bat" does not exist
5
5
  pause
6
6
  exit /b
7
7
  )
8
8
 
9
- call %~dp0ToolLaunch.bat rubyw.exe %~n0 %*
9
+ call "%~dp0ToolLaunch.bat" rubyw.exe %~n0 %*
@@ -1,9 +1,9 @@
1
1
  @ECHO OFF
2
2
 
3
- IF NOT EXIST %~dp0ToolLaunch.bat (
4
- echo %~dp0ToolLaunch.bat does not exist
3
+ IF NOT EXIST "%~dp0ToolLaunch.bat" (
4
+ echo "%~dp0ToolLaunch.bat" does not exist
5
5
  pause
6
6
  exit /b
7
7
  )
8
8
 
9
- call %~dp0ToolLaunch.bat rubyw.exe %~n0 %*
9
+ call "%~dp0ToolLaunch.bat" rubyw.exe %~n0 %*
@@ -1,9 +1,9 @@
1
1
  @ECHO OFF
2
2
 
3
- IF NOT EXIST %~dp0ToolLaunch.bat (
4
- echo %~dp0ToolLaunch.bat does not exist
3
+ IF NOT EXIST "%~dp0ToolLaunch.bat" (
4
+ echo "%~dp0ToolLaunch.bat" does not exist
5
5
  pause
6
6
  exit /b
7
7
  )
8
8
 
9
- call %~dp0ToolLaunch.bat rubyw.exe %~n0 %*
9
+ call "%~dp0ToolLaunch.bat" rubyw.exe %~n0 %*
@@ -1,9 +1,9 @@
1
1
  @ECHO OFF
2
2
 
3
- IF NOT EXIST %~dp0ToolLaunch.bat (
4
- echo %~dp0ToolLaunch.bat does not exist
3
+ IF NOT EXIST "%~dp0ToolLaunch.bat" (
4
+ echo "%~dp0ToolLaunch.bat" does not exist
5
5
  pause
6
6
  exit /b
7
7
  )
8
8
 
9
- call %~dp0ToolLaunch.bat ruby.exe %~n0 %*
9
+ call "%~dp0ToolLaunch.bat" ruby.exe %~n0 %*
@@ -1,9 +1,9 @@
1
1
  @ECHO OFF
2
2
 
3
- IF NOT EXIST %~dp0ToolLaunch.bat (
4
- echo %~dp0ToolLaunch.bat does not exist
3
+ IF NOT EXIST "%~dp0ToolLaunch.bat" (
4
+ echo "%~dp0ToolLaunch.bat" does not exist
5
5
  pause
6
6
  exit /b
7
7
  )
8
8
 
9
- call %~dp0ToolLaunch.bat rubyw.exe %~n0 %*
9
+ call "%~dp0ToolLaunch.bat" rubyw.exe %~n0 %*
@@ -1,9 +1,9 @@
1
1
  @ECHO OFF
2
2
 
3
- IF NOT EXIST %~dp0ToolLaunch.bat (
4
- echo %~dp0ToolLaunch.bat does not exist
3
+ IF NOT EXIST "%~dp0ToolLaunch.bat" (
4
+ echo "%~dp0ToolLaunch.bat" does not exist
5
5
  pause
6
6
  exit /b
7
7
  )
8
8
 
9
- call %~dp0ToolLaunch.bat rubyw.exe %~n0 %*
9
+ call "%~dp0ToolLaunch.bat" rubyw.exe %~n0 %*
@@ -1,9 +1,9 @@
1
1
  @ECHO OFF
2
2
 
3
- IF NOT EXIST %~dp0ToolLaunch.bat (
4
- echo %~dp0ToolLaunch.bat does not exist
3
+ IF NOT EXIST "%~dp0ToolLaunch.bat" (
4
+ echo "%~dp0ToolLaunch.bat" does not exist
5
5
  pause
6
6
  exit /b
7
7
  )
8
8
 
9
- call %~dp0ToolLaunch.bat rubyw.exe %~n0 %*
9
+ call "%~dp0ToolLaunch.bat" rubyw.exe %~n0 %*
@@ -1,9 +1,9 @@
1
1
  @ECHO OFF
2
2
 
3
- IF NOT EXIST %~dp0ToolLaunch.bat (
4
- echo %~dp0ToolLaunch.bat does not exist
3
+ IF NOT EXIST "%~dp0ToolLaunch.bat" (
4
+ echo "%~dp0ToolLaunch.bat" does not exist
5
5
  pause
6
6
  exit /b
7
7
  )
8
8
 
9
- call %~dp0ToolLaunch.bat rubyw.exe %~n0 %*
9
+ call "%~dp0ToolLaunch.bat" rubyw.exe %~n0 %*
@@ -1,9 +1,9 @@
1
1
  @ECHO OFF
2
2
 
3
- IF NOT EXIST %~dp0ToolLaunch.bat (
4
- echo %~dp0ToolLaunch.bat does not exist
3
+ IF NOT EXIST "%~dp0ToolLaunch.bat" (
4
+ echo "%~dp0ToolLaunch.bat" does not exist
5
5
  pause
6
6
  exit /b
7
7
  )
8
8
 
9
- call %~dp0ToolLaunch.bat rubyw.exe %~n0 %*
9
+ call "%~dp0ToolLaunch.bat" rubyw.exe %~n0 %*
@@ -1,9 +1,9 @@
1
1
  @ECHO OFF
2
2
 
3
- IF NOT EXIST %~dp0ToolLaunch.bat (
4
- echo %~dp0ToolLaunch.bat does not exist
3
+ IF NOT EXIST "%~dp0ToolLaunch.bat" (
4
+ echo "%~dp0ToolLaunch.bat" does not exist
5
5
  pause
6
6
  exit /b
7
7
  )
8
8
 
9
- call %~dp0ToolLaunch.bat rubyw.exe %~n0 %*
9
+ call "%~dp0ToolLaunch.bat" rubyw.exe %~n0 %*
@@ -10,8 +10,8 @@ IF NOT EXIST !TOOL! (
10
10
  exit /b
11
11
  )
12
12
 
13
- IF NOT EXIST %~dp0tool_launch.rb (
14
- echo %~dp0tool_launch.rb does not exist
13
+ IF NOT EXIST "%~dp0tool_launch.rb" (
14
+ echo "%~dp0tool_launch.rb" does not exist
15
15
  pause
16
16
  exit /b
17
17
  )
@@ -42,11 +42,9 @@ goto loop
42
42
 
43
43
  IF EXIST "!DESTINATION_DIR!Vendor\Ruby" (
44
44
  :: Convert DESTINATION_DIR to absolute path
45
- echo !DESTINATION_DIR!
46
45
  pushd !DESTINATION_DIR!
47
46
  SET "DESTINATION_DIR=!CD!\"
48
47
  popd
49
- echo !DESTINATION_DIR!
50
48
 
51
49
  :: Set environmental variables
52
50
  for /f "delims=" %%a in ('dir "!DESTINATION_DIR!Vendor\Ruby\lib\ruby\gems\2*" /on /ad /b') do set RUBY_ABI=%%a
@@ -63,8 +61,7 @@ IF EXIST "!DESTINATION_DIR!Vendor\Ruby" (
63
61
  SET RUBYLIB=
64
62
 
65
63
  :: Run tool using Installer Ruby
66
- ECHO !GEM_HOME!
67
- ECHO Starting tool using installer ruby in !DESTINATION_DIR!
64
+ ECHO Starting tool using installer ruby in "!DESTINATION_DIR!"
68
65
  START "COSMOS" "!DESTINATION_DIR!Vendor\Ruby\bin\!RUBYEXE!" "!TOOL!" !PARAMS!
69
66
  ) else (
70
67
  :: Use System Ruby and Environment
@@ -22,6 +22,7 @@ static ID id_method_packet_name_equals = 0;
22
22
  static ID id_method_description_equals = 0;
23
23
  static ID id_method_upcase = 0;
24
24
  static ID id_method_clone = 0;
25
+ static ID id_method_clear = 0;
25
26
 
26
27
  static ID id_ivar_id_items = 0;
27
28
  static ID id_ivar_id_value = 0;
@@ -169,6 +170,7 @@ static VALUE description_equals(VALUE self, VALUE description) {
169
170
  *
170
171
  * @param received_time [Time] Time this packet was received */
171
172
  static VALUE received_time_equals(VALUE self, VALUE received_time) {
173
+ volatile VALUE read_conversion_cache = rb_ivar_get(self, id_ivar_read_conversion_cache);
172
174
  if (RTEST(received_time)) {
173
175
  if (rb_funcall(received_time, id_method_class, 0) != rb_cTime) {
174
176
  rb_raise(rb_eArgError, "received_time must be a Time but is a %s", RSTRING_PTR(rb_funcall(rb_funcall(received_time, id_method_class, 0), id_method_to_s, 0)));
@@ -177,6 +179,9 @@ static VALUE received_time_equals(VALUE self, VALUE received_time) {
177
179
  } else {
178
180
  rb_ivar_set(self, id_ivar_received_time, Qnil);
179
181
  }
182
+ if (RTEST(read_conversion_cache)) {
183
+ rb_funcall(read_conversion_cache, id_method_clear, 0);
184
+ }
180
185
  return rb_ivar_get(self, id_ivar_received_time);
181
186
  }
182
187
 
@@ -185,10 +190,14 @@ static VALUE received_time_equals(VALUE self, VALUE received_time) {
185
190
  * @param received_count [Integer] Number of times this packet has been
186
191
  * received */
187
192
  static VALUE received_count_equals(VALUE self, VALUE received_count) {
193
+ volatile VALUE read_conversion_cache = rb_ivar_get(self, id_ivar_read_conversion_cache);
188
194
  if (rb_funcall(received_count, id_method_class, 0) != rb_cFixnum) {
189
195
  rb_raise(rb_eArgError, "received_count must be a Fixnum but is a %s", RSTRING_PTR(rb_funcall(rb_funcall(received_count, id_method_class, 0), id_method_to_s, 0)));
190
196
  }
191
197
  rb_ivar_set(self, id_ivar_received_count, received_count);
198
+ if (RTEST(read_conversion_cache)) {
199
+ rb_funcall(read_conversion_cache, id_method_clear, 0);
200
+ }
192
201
  return rb_ivar_get(self, id_ivar_received_count);
193
202
  }
194
203
 
@@ -299,6 +308,7 @@ void Init_packet (void)
299
308
  id_method_description_equals = rb_intern("description=");
300
309
  id_method_upcase = rb_intern("upcase");
301
310
  id_method_clone = rb_intern("clone");
311
+ id_method_clear = rb_intern("clear");
302
312
 
303
313
  id_ivar_id_items = rb_intern("@id_items");
304
314
  id_ivar_id_value = rb_intern("@id_value");
@@ -34,25 +34,25 @@
34
34
  "config/tools/handbook_creator/default_toc.xsl" 0x4122A040
35
35
  "config/tools/handbook_creator/handbook_creator.txt" 0x64E4B5CC
36
36
  "config/tools/script_runner/script_runner.txt" 0x1EECD803
37
- "tools/TlmExtractor.bat" 0x09A34857
37
+ "tools/TlmExtractor.bat" 0x2B98E027
38
38
  "tools/Launcher" 0xFD4E356C
39
39
  "tools/TlmViewer" 0xFE723189
40
40
  "tools/CmdTlmServer" 0x4C7A4FCB
41
41
  "tools/ScriptRunner" 0x20F38758
42
42
  "tools/tool_launch.rb" 0x0BDB6696
43
43
  "tools/LimitsMonitor" 0x04FD96D8
44
- "tools/Replay.bat" 0x09A34857
45
- "tools/CmdExtractor.bat" 0x09A34857
46
- "tools/TlmViewer.bat" 0x09A34857
44
+ "tools/Replay.bat" 0x2B98E027
45
+ "tools/CmdExtractor.bat" 0x2B98E027
46
+ "tools/TlmViewer.bat" 0x2B98E027
47
47
  "tools/DataViewer" 0x9D20734C
48
- "tools/ScriptRunner.bat" 0x09A34857
49
- "tools/CmdTlmServer.bat" 0x09A34857
48
+ "tools/ScriptRunner.bat" 0x2B98E027
49
+ "tools/CmdTlmServer.bat" 0x2B98E027
50
50
  "tools/Replay" 0xAC00D2AD
51
- "tools/HandbookCreator.bat" 0x09A34857
51
+ "tools/HandbookCreator.bat" 0x2B98E027
52
52
  "tools/PacketViewer" 0xF23A40BB
53
53
  "tools/TlmGrapher" 0x9464F502
54
- "tools/DataViewer.bat" 0x09A34857
55
- "tools/LimitsMonitor.bat" 0x09A34857
54
+ "tools/DataViewer.bat" 0x2B98E027
55
+ "tools/LimitsMonitor.bat" 0x2B98E027
56
56
  "tools/mac/TestRunner.app/Contents/Info.plist" 0x482B3BA5
57
57
  "tools/mac/TestRunner.app/Contents/Resources/appIcon.icns" 0xC8D32D55
58
58
  "tools/mac/TestRunner.app/Contents/MacOS/tool_launch.rb" 0x0BDB6696
@@ -133,19 +133,19 @@
133
133
  "tools/mac/DataViewer.app/Contents/MacOS/DataViewer.rb" 0x9D20734C
134
134
  "tools/mac/DataViewer.app/Contents/MacOS/tool_launch.rb" 0x0BDB6696
135
135
  "tools/mac/DataViewer.app/Contents/MacOS/main.sh" 0xD40D9D6C
136
- "tools/TableManager.bat" 0x09A34857
136
+ "tools/TableManager.bat" 0x2B98E027
137
137
  "tools/HandbookCreator" 0xD927814C
138
- "tools/TestRunner.bat" 0x09A34857
138
+ "tools/TestRunner.bat" 0x2B98E027
139
139
  "tools/CmdSender" 0x10346CF4
140
- "tools/OpenGLBuilder.bat" 0x09A34857
140
+ "tools/OpenGLBuilder.bat" 0x2B98E027
141
141
  "tools/TableManager" 0x71F21C88
142
142
  "tools/TestRunner" 0x0B0E0B8B
143
- "tools/TlmGrapher.bat" 0x09A34857
143
+ "tools/TlmGrapher.bat" 0x2B98E027
144
144
  "tools/TlmExtractor" 0x1EC4639A
145
- "tools/PacketViewer.bat" 0x09A34857
146
- "tools/Launcher.bat" 0x09A34857
147
- "tools/ToolLaunch.bat" 0x7896E14C
145
+ "tools/PacketViewer.bat" 0x2B98E027
146
+ "tools/Launcher.bat" 0x2B98E027
147
+ "tools/ToolLaunch.bat" 0x4E6549E0
148
148
  "tools/CmdExtractor" 0x96E82AC3
149
149
  "tools/OpenGLBuilder" 0x585EA691
150
- "tools/CmdSender.bat" 0x09A34857
150
+ "tools/CmdSender.bat" 0x2B98E027
151
151
  "procedures/README.txt" 0x93B2C07E
@@ -1,9 +1,9 @@
1
1
  @ECHO OFF
2
2
 
3
- IF NOT EXIST %~dp0ToolLaunch.bat (
4
- echo %~dp0ToolLaunch.bat does not exist
3
+ IF NOT EXIST "%~dp0ToolLaunch.bat" (
4
+ echo "%~dp0ToolLaunch.bat" does not exist
5
5
  pause
6
6
  exit /b
7
7
  )
8
8
 
9
- call %~dp0ToolLaunch.bat rubyw.exe %~n0 %*
9
+ call "%~dp0ToolLaunch.bat" rubyw.exe %~n0 %*
@@ -1,9 +1,9 @@
1
1
  @ECHO OFF
2
2
 
3
- IF NOT EXIST %~dp0ToolLaunch.bat (
4
- echo %~dp0ToolLaunch.bat does not exist
3
+ IF NOT EXIST "%~dp0ToolLaunch.bat" (
4
+ echo "%~dp0ToolLaunch.bat" does not exist
5
5
  pause
6
6
  exit /b
7
7
  )
8
8
 
9
- call %~dp0ToolLaunch.bat rubyw.exe %~n0 %*
9
+ call "%~dp0ToolLaunch.bat" rubyw.exe %~n0 %*
@@ -1,9 +1,9 @@
1
1
  @ECHO OFF
2
2
 
3
- IF NOT EXIST %~dp0ToolLaunch.bat (
4
- echo %~dp0ToolLaunch.bat does not exist
3
+ IF NOT EXIST "%~dp0ToolLaunch.bat" (
4
+ echo "%~dp0ToolLaunch.bat" does not exist
5
5
  pause
6
6
  exit /b
7
7
  )
8
8
 
9
- call %~dp0ToolLaunch.bat rubyw.exe %~n0 %*
9
+ call "%~dp0ToolLaunch.bat" rubyw.exe %~n0 %*
@@ -1,9 +1,9 @@
1
1
  @ECHO OFF
2
2
 
3
- IF NOT EXIST %~dp0ToolLaunch.bat (
4
- echo %~dp0ToolLaunch.bat does not exist
3
+ IF NOT EXIST "%~dp0ToolLaunch.bat" (
4
+ echo "%~dp0ToolLaunch.bat" does not exist
5
5
  pause
6
6
  exit /b
7
7
  )
8
8
 
9
- call %~dp0ToolLaunch.bat rubyw.exe %~n0 %*
9
+ call "%~dp0ToolLaunch.bat" rubyw.exe %~n0 %*
@@ -1,9 +1,9 @@
1
1
  @ECHO OFF
2
2
 
3
- IF NOT EXIST %~dp0ToolLaunch.bat (
4
- echo %~dp0ToolLaunch.bat does not exist
3
+ IF NOT EXIST "%~dp0ToolLaunch.bat" (
4
+ echo "%~dp0ToolLaunch.bat" does not exist
5
5
  pause
6
6
  exit /b
7
7
  )
8
8
 
9
- call %~dp0ToolLaunch.bat rubyw.exe %~n0 %*
9
+ call "%~dp0ToolLaunch.bat" rubyw.exe %~n0 %*
@@ -1,9 +1,9 @@
1
1
  @ECHO OFF
2
2
 
3
- IF NOT EXIST %~dp0ToolLaunch.bat (
4
- echo %~dp0ToolLaunch.bat does not exist
3
+ IF NOT EXIST "%~dp0ToolLaunch.bat" (
4
+ echo "%~dp0ToolLaunch.bat" does not exist
5
5
  pause
6
6
  exit /b
7
7
  )
8
8
 
9
- call %~dp0ToolLaunch.bat rubyw.exe %~n0 %*
9
+ call "%~dp0ToolLaunch.bat" rubyw.exe %~n0 %*
@@ -1,9 +1,9 @@
1
1
  @ECHO OFF
2
2
 
3
- IF NOT EXIST %~dp0ToolLaunch.bat (
4
- echo %~dp0ToolLaunch.bat does not exist
3
+ IF NOT EXIST "%~dp0ToolLaunch.bat" (
4
+ echo "%~dp0ToolLaunch.bat" does not exist
5
5
  pause
6
6
  exit /b
7
7
  )
8
8
 
9
- call %~dp0ToolLaunch.bat rubyw.exe %~n0 %*
9
+ call "%~dp0ToolLaunch.bat" rubyw.exe %~n0 %*