- Code: Select all
xboard -fd "/home/pradu/Desktop/Buzz" -fcp '"./Buz 2" -log'
But this doesn't work for xboard. Is there any way to launch executables with spaces for xboard?
Moderators: hgm, Andres Valverde
xboard -fd "/home/pradu/Desktop/Buzz" -fcp '"./Buz 2" -log'
for (;;) {
#if 1
while(*p == ' ') p++; // skip leading spaces
if(*p == '"') {
argv[i++] = ++p;
p = strchr(p, '"');
} else if(*p == '\'') {
argv[i++] = ++p;
p = strchr(p, '\'');
} else {
argv[i++] = p;
p = strchr(p, ' ');
}
#else
argv[i++] = p;
p = strchr(p, ' ');
#endif
if (p == NULL) break;
*p++ = NULLCHAR;
}
Return to WinBoard development and bugfixing
Users browsing this forum: No registered users and 31 guests