lvapeab / m4loc

Automatically exported from code.google.com/p/m4loc
GNU Lesser General Public License v3.0
0 stars 0 forks source link

mod_detokenizer: system command prevents running on Windows #11

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
On Windows:
1. Produce(or edit) tokenized target language file e.g. 
languagetool.xlf.ins.fr-fr
2. Run "perl mod_detokenizer.pl -l fr-fr < languagetool.xlf.ins.fr-fr"

Result:
Error message "The system cannot find the path specified."

Cause:
Line 100 in detokenizer.perl 
system("./detokenizer.perl -l $lang < $tmpout 2> /dev/null ");
should be changed to the platform independent
system("perl ./detokenizer.perl -l $lang < $tmpout");

Original issue reported on code.google.com by Achi...@gmail.com on 4 Mar 2011 at 3:02

GoogleCodeExporter commented 9 years ago
done in r.53
line 107:
system("perl detokenizer.perl -q -l $lang < $tmpout");

Original comment by xhu...@gmail.com on 11 Mar 2011 at 9:35

GoogleCodeExporter commented 9 years ago

Original comment by xhu...@gmail.com on 11 Mar 2011 at 9:41

GoogleCodeExporter commented 9 years ago

Original comment by Achi...@gmail.com on 14 Mar 2011 at 2:53