From d5f8d614dc24611051a2c74ab1e9550d8abd80e7 Mon Sep 17 00:00:00 2001 From: Frederico Palma Date: Tue, 16 Mar 2010 18:23:16 +0000 Subject: [PATCH] git-svn-id: https://svn.coded.pt/svn/SIPRP@1222 bb69d46d-e84e-40c8-a05a-06db0d633741 --- trunk/SIPRPSoft/src/siprp/ficha/ExamePDF.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trunk/SIPRPSoft/src/siprp/ficha/ExamePDF.java b/trunk/SIPRPSoft/src/siprp/ficha/ExamePDF.java index 7f632eb0..091542a6 100644 --- a/trunk/SIPRPSoft/src/siprp/ficha/ExamePDF.java +++ b/trunk/SIPRPSoft/src/siprp/ficha/ExamePDF.java @@ -162,7 +162,7 @@ public class ExamePDF implements FichaAptidaoConstants //System.out.println( "cmd.exe /c \"" + System.getProperty( "user.home" ) + System.getProperty( "file.separator" ) + "report_ficha.pdf\"" ); // proc = Runtime.getRuntime().exec( "cmd.exe /c \"" + System.getProperty( "user.home" ) + System.getProperty( "file.separator" ) + nome + "_" + time + ".pdf\"" ); - proc = Runtime.getRuntime().exec( new String[]{ System.getProperty( "user.home" ) + "\\open.bat", System.getProperty( "user.home" ) + System.getProperty( "file.separator" ) + nome + "_" + time + ".pdf" }); + proc = Runtime.getRuntime().exec( new String[]{ System.getProperty( "user.home" ) + "\\open.bat", System.getProperty( "user.home" ) + "\\" + nome + "_" + time + ".pdf" }); proc.waitFor();