Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

command-line interface doesn't work in Cygwin

Any idea why?

$ scm -v
/cygdrive/c/Programs/RTC/Client/scmtools/eclipse/scm: /cygdrive/c/Programs/RTC/Client/scmtools/eclipse/scm: cannot execute binary file

It works in the braindead windows cmd shell.

-David

0 votes



2 answers

Permanent link
$ scm -v
/cygdrive/c/Programs/RTC/Client/scmtools/eclipse/scm: /cygdrive/c/Programs/RTC/Client/scmtools/eclipse/scm: cannot execute binary file


I suspect that cygwin is picking up the *nix launcher instead of the Windows launcher (scm.exe).

To test this hypothese, please try running 'which scm' and tell us what the output is. If you're picking up /foo/bar/scmtools/eclipse/scm instead of /foo/bar/scmtools/eclipse/scm.exe, try running 'scm.exe' instead of 'scm' - that will tell us if there's a launcher mapping issue.

e

0 votes


Permanent link
$ which scm
/cygdrive/c/Programs/RTC/Client/scmtools/eclipse/scm

$ scm.exe -v
com.ibm.team.filesystem.cli.tools, version 2.0.0.I200905130131
Subcommands: tools.verify

So this is no problem for me, but a doc note might help others.

Thanks!
-David


$ scm -v
/cygdrive/c/Programs/RTC/Client/scmtools/eclipse/scm: /cygdrive/c/Programs/RTC/Client/scmtools/eclipse/scm: cannot execute binary file


I suspect that cygwin is picking up the *nix launcher instead of the Windows launcher (scm.exe).

To test this hypothese, please try running 'which scm' and tell us what the output is. If you're picking up /foo/bar/scmtools/eclipse/scm instead of /foo/bar/scmtools/eclipse/scm.exe, try running 'scm.exe' instead of 'scm' - that will tell us if there's a launcher mapping issue.

e

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Aug 11 '09, 8:08 a.m.

Question was seen: 8,597 times

Last updated: Aug 11 '09, 8:08 a.m.

Confirmation Cancel Confirm