command-line interface doesn't work in Cygwin
2 answers
$ 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
$ 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
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
/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