citadel

My dotfiles, scripts and nix configs
git clone git://jb55.com/citadel
Log | Files | Refs | README | LICENSE

nncp-cmd-runner (178B)


      1 #!/bin/sh
      2 
      3 . /home/jb55/.nncpenv
      4 
      5 out=$(mktemp)
      6 echo "$@" >> /tmp/cmds
      7 $@ &> "$out"
      8 
      9 <"$out" nncp-exec $NNCP_SENDER cat $@
     10 
     11 echo "finished nncp-cmd $@" | sendalert
     12 
     13 rm -f "$out"