1 //@@TODO reconcile /muscle with /muscle3.6
\r
6 #include <windows.h> // for SetPriorityClass()
\r
7 #include <io.h> // for isatty()
\r
9 #include <unistd.h> // for isatty()
\r
12 const char *MUSCLE_LONG_VERSION = "MUSCLE v" SHORT_VERSION "."
\r
13 #include "svnversion.h"
\r
14 " by Robert C. Edgar";
\r
19 int main(int argc, char **argv)
\r
22 // Multi-tasking does not work well in CPU-bound
\r
23 // console apps running under Win32.
\r
24 // Reducing the process priority allows GUI apps
\r
25 // to run responsively in parallel.
\r
26 SetPriorityClass(GetCurrentProcess(), BELOW_NORMAL_PRIORITY_CLASS);
\r
33 ProcessArgVect(argc - 1, argv + 1);
\r
37 //extern void TestSubFams(const char *);
\r
38 //TestSubFams(g_pstrInFileName);
\r
43 printf("%s\n", MUSCLE_LONG_VERSION);
\r
50 if (MissingCommand() && isatty(0))
\r
56 if (g_bCatchExceptions)
\r