system_exec error

new topic     » topic index » view thread      » older message » newer message


Greetings, Earthlings,

Running v4.0.4 eui.exe vs v4.1.0.Nov28 on the following code:

  zipcmdline = "\"C:\\Program Files\\7-Zip\\7z.exe\" e \"\\\\Tiggrbox\\C\\storage.googleapis.com\\books\\ngrams\\books\\"  & 
                zipreaddir[zipindex][1] & "\" -oD:\\ngrams\\" 
                 
  puts(1,"\n\n"&zipcmdline&"\n\n") 
   
  system_exec(zipcmdline,2) 

, v4.0.4 runs fine, except after 5 days the writefile for that app is truncated at 2^32 bytes, and the memory leak issues around DLLs. However, v4.1.0.Nov28 reports this:

unzipping googlebooks-eng-all-5gram-20090715-0.csv.zip 
 
 
"C:\Program Files\7-Zip\7z.exe" e "\\Tiggrbox\C\storage.googleapis.com\books\ngr 
ams\books\googlebooks-eng-all-5gram-20090715-0.csv.zip" -oD:\ngrams\ 
 
 
7-Zip 4.65  Copyright (c) 1999-2009 Igor Pavlov  2009-02-03 
 
 
Error: 
Incorrect command line 
How do i fix this? At first glance i'd tell me to munge the code so v4.1.0.Nov28 runs it, but then the back of my mind keeps yelling at me this is an incompatability that will break all the codebase i have which uses system_exec() (and maybe system() as well). This might be a Good Thing, so i know i am using the v4.1.0.Nov28 which isn't leaky, but is this the sort of code enforcement i want?

useless

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu