00001 /* -*- C -*- */ 00020 func zsend_zcrypt(zout) [args, pipe] 00021 { 00022 args = zout_std_args(zout); 00023 pipe = popen("attachandrun outland zcrypt zcrypt -q -Z" + 00024 args + ">/dev/null", "w"); 00025 if (!pipe) 00026 { 00027 output("Pipe failed.\n"); 00028 return; 00029 } 00030 fwrite(pipe, zout->body); 00031 /* Don't check the exit status of zcrypt, since it returns non-zero on 00032 * success */ 00033 fclose(pipe); 00034 }