Is AVG antivirus killing TProcess.Parameters.Add parameters? lazarus / 34-Windows ---------------------------------------------------------------------- dieselnutjob · 2015-05-27 22:03 I have about 100 customers using my software and today a new one has hit a problem. The software consists of a launcher.exe which uses TProcess to start a mainapp.exe, and it passes it some data using a parameter added using TProcess.Parameters.Add The mainapp.exe is behaving as if it is not receiving the parameter. I notice that AVG has a feature that checks an executable everytime you run it (or something like that). Is it possible that AVG is messing up the parameter? Other customers using Avast and Symantec Norton do not have this problem. ---------------------------------------------------------------------- marcov · 2015-05-28 07:01 Doesn't sound really likely. ---------------------------------------------------------------------- lainz · 2015-06-25 03:49 Maybe the pro version. My experience with other av soft: - With Comodo there is something called Hips that breaks everything if application not added to list of safe applications. - With Avast the application is sandboxed and will not run properly the first run. ---------------------------------------------------------------------- Deepaak · 2015-06-25 04:28 No, I tested this secenareo with avg antivirus/internet security with latest updated database. No problem found so far. Maybe, please check the parameter for unicode releated issue. Once i faced this issue ---------------------------------------------------------------------- lainz · 2015-06-25 05:02 So AVG is fine... Maybe the quotes also in file paths sometimes are tricky. But unicode may be the big one. ---------------------------------------------------------------------- Basile B. · 2015-06-25 08:41 Quote from: 007 on June 25, 2015, 07:02:24 amSo AVG is fine... Maybe the quotes also in file paths sometimes are tricky. But unicode may be the big one. Under Windows the rule is never quote the parameters: The reason is that they are added automatically: https://github.com/fpc-svn/fpc/blob/master/packages/fcl- process/src/win/process.inc#L209 https://github.com/fpc-svn/fpc/blob/master/packages/fcl- process/src/win/process.inc#L249 The fact is that you'll get into trouble is you do so...by trouble i mean: it won't work. by you i mean someone who uses TProcess.