|
From: <bc...@wo...> - 2001-08-19 20:06:57
|
[Humbel Otmar]
>Please find below a possible solution to a small jythonc problem.
>I hope it is not platform specific.
I think it is. I can't test it, but quoting args should work correctly
on unix. It is the braindead command interpreter on windows that is at
fault here.
>I am not sure if this should become a bug report.
It should, please add one. Even if it is just a windows problem, it is
still a problem.
>With the following change in jython/Tools/main.py (around line 150):
> elif opt in ('-J', '--compileropts'):
> options.jopts =3D arg.split(',') # was arg.split() before
While I'm always in favor of a quick hack <wink>, this is isn't the
right one. It would break working scripts for unix users and I have
never seen other tools use this convention for passing options down to
subcommands.
I'm leaning more towards a fix where we can pass in the name of a
(property?) file that contains further options and arguments. It isn't a
good solution but it would be the same bad solution that windows have
always used.
That could also function as the workaround to the max 9 args restriction
that we also suffer on windows.
regards,
finn
|