String fileName, boolean withAWT, int expectedMinFileSize,
int timeout)
{
- String cmd = harg + type + " " + fileName;
- System.out.println(">>>>>>>>>>>>>>>> Command : " + cmd);
File file = new File(fileName);
+ String cmd = harg + type + " "
+ + file.getAbsolutePath().replace('\\', '/');
+ System.out.println(">>>>>>>>>>>>>>>> Command : " + cmd);
+
file.deleteOnExit();
Worker worker = getJalviewDesktopRunner(withAWT, cmd, timeout);
assertNotNull(worker, "worker is null");