Open lucasart opened 3 years ago
Windows takes the entire command, and re-parses it, unlike POSIX which takes the, already parsed, argv[] array. So I must quote argv[] values in case they contain spaces. https://github.com/nkg114mc/c-gomoku-cli/commit/5c7c69f73a520b889ad1994fe706b7817dba69f1. Gomoku does this only for argv[0], but it should probably be done for all argv[] values.
only argv[0] for now.
Windows takes the entire command, and re-parses it, unlike POSIX which takes the, already parsed, argv[] array. So I must quote argv[] values in case they contain spaces. https://github.com/nkg114mc/c-gomoku-cli/commit/5c7c69f73a520b889ad1994fe706b7817dba69f1. Gomoku does this only for argv[0], but it should probably be done for all argv[] values.