Re: [Clamav-users] filename with whitespace

2008-12-19 Thread Sudhakar Marimuthu
Hi Tomasz Kojm, Thanks a lot. I tried with the below command it worked fine. p = rt.exec(new String[]{"sh", "-c", CLAM_SCAN + destFilePath + File.separatorChar + "\"" + fileName + "\"" }); Regards, M.Sudhakar On Fri, Dec 19, 2008 at 7:42 AM, Tomasz Kojm wrote: > On Fri, 19 Dec 2008 07:34:04 -0

Re: [Clamav-users] filename with whitespace

2008-12-19 Thread Tomasz Kojm
On Fri, 19 Dec 2008 07:34:04 -0500 "Sudhakar Marimuthu" wrote: > Hi , > i am running clamscan from java as given below. > i am getting 56 as a return code. > > Param with Value > --- > destFilePath = /home/sudhakar/ > fileName=Test Scan.doc (filename with space) You shou

[Clamav-users] filename with whitespace

2008-12-19 Thread Sudhakar Marimuthu
Hi , i am running clamscan from java as given below. i am getting 56 as a return code. Param with Value --- destFilePath = /home/sudhakar/ fileName=Test Scan.doc (filename with space) Method --- private void scanAntiVirus(String destFilePath, String fi