process_close(p)
Close the communication channel between the parent and child process. If called from parent, the child process is terminated.
Return true
if the connection with the process is closed,
false
otherwise.
let p = process(^(cp) showln("server says: ", process_receive(cp)))
process_send(p, "hello")
//> server says: hello
process_close(p)