2009/6/8 Nicolás Alvarez <[email protected]>

> El Lunes 08 Jun 2009 21:30:01 Jeremy Cowles escribió:
> > Maybe I'm not understanding something, but under windows files must end
> in
> > .bat to be executed as a batch file, correct?
> > If this is the case, are batch files are not supported by
> update_versions?
> > I ask because the reg-ex that parses executable names does not include
> .bat
> > as an option. See: re_match_exec_filename(filepath) in update_versions
> for
> > the reg-ex.
>
> A batch file shouldn't be the "main_application", so it doesn't matter for
> that.


Actually, a batch is the main_application for PyMW currently. Because the
true application changes from run to run, it gets passed as an argument to a
batch file which hands it off to Python. So the command looks something
like:

pymw_1.00_windows_intelx86.bat <main_app_script> <input_file> <output_file>

The batch sets up various temp environment vars for Python and then launches
the interpreter. So it doesn't function on windows because the ".bat" is
missing and cant be added.

--
Jeremy
_______________________________________________
boinc_dev mailing list
[email protected]
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.

Reply via email to