from .base_executor import ScriptExecutor
from dmoj.cptbox.handlers import ACCESS_DENIED

class Executor(ScriptExecutor):
    ext = '.pike'
    name = 'PIKE'
    command = 'pike'
    syscalls = ['socketpair', ('fpathconf', ACCESS_DENIED)]
    test_program = '''\
int main() {
    write(Stdio.stdin.gets());
    return 0;
}
'''

Add Pike executor; #199