Project-LemonLime / Project_LemonLime

为了 OI 比赛而生的基于 Lemon + LemonPlus 的轻量评测系统 | 三大桌面系统支持
GNU General Public License v3.0
565 stars 60 forks source link

fix(judge): watcher_unix will exit because wrong file name #217

Closed woshiluo closed 1 year ago

woshiluo commented 1 year ago

fix #216

Dust1404 commented 1 year ago

这个是不对的,用双引号扩起来就是防止文件名当中有空格的,不能直接 sscanf。

我正在改,后面会给 watcher 模块加上 unittest。

woshiluo commented 1 year ago

确实,那我就不管了。

感觉最合适的办法还是多传个参数进来。