[Jprogramming] pwd? tasks.ijs?
Bill Harris
bill_harris at facilitatedsystems.com
Fri Mar 2 14:06:00 HKT 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Oleg Kobchenko <olegykj at yahoo.com> writes:
> It's disconcerting to observe how much effort
> is put into fighting with spaces in the path.
> There is a reason why people prefer not to
> use spaces in paths for work. Even other measures
> are used like mapping a drive, u:/work, to avoid
> the troubles and move between environments and versions.
It's more than frustrating. My task has three main parts: create a
simulation file to run, run it, and plot some graphs. I'm guessing I
did the creating the simulation file part in less time than I've spent
so far on trying to run it (which was going to be 1 line).
> Another thing is crossing the Windows/cygwin boundary:
> you need to be clearly aware which shell is being
> currently executed and observe calling, escaping and
> naming conventions appropriately. E.g. "./" is not
> fit for Windows.
Yes, that hurt me for quite a while and may still be hurting me.
> One solution could be is a glue .bat file, which
> will instantiate cygwin shell and call (possibly
> a glue shell script) executable there. First try to run it from
> cmd.exe console from J folder with the same arguments.
> If it runs from there, it should run from with the "shell" verb.
I think I'll go on to finishing up the plotting part and then come back
to this. Perhaps I'll have had some insights by then; perhaps someone
will have seen something I haven't seen and post it (e.g., why the bash
verb didn't work for me), or perhaps I'll do some sort of glue .bat
file. I just hate to add files when they don't seem as if they should
be necessary.
Thanks for your help. I'll let everyone know if I discover the magic
incantation; feel free to let me know if you get sudden insight into
what my problem might be.
Bill
- --
Bill Harris http://facilitatedsystems.com/weblog/
Facilitated Systems Everett, WA 98208 USA
http://facilitatedsystems.com/ phone: +1 425 337-5541
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (MingW32)
Comment: For more information, see http://www.gnupg.org
iD8DBQFF577M3J3HaQTDvd8RApa8AKCALOGDJvNBINI8Eo0XkWN4hE7sOACfVx4n
wZlhtls9E2q2xJpHg+7YQ/Y=
=796R
-----END PGP SIGNATURE-----
More information about the Programming
mailing list