The testsuite for the Unicode module might also prove enlighting.
/ Martin Nilsson (har bott i google)
Previous text:
2003-04-15 11:42: Subject: Starting new pike processes from the testsuite
Excerpts from the main testsuite.in:
test_do([[ // This is a memleak test rm("testsuite_test.pike"); Stdio.write_file("testsuite_test.pike", "constant Q=10000000000000000;\n" "int main() {}\n"); Process.system(RUNPIKE +" testsuite_test.pike"); rm("testsuite_test.pike"); ]])
test_any([[object p=Process.create_process(Process.split_quoted_string(RUNPIKE)+({"-e","exit(2)"})); sleep(10); return p->wait()]],2)
/ Henrik Grubbström (Lysator)