0 Replies Latest reply on Mar 13, 2006 6:16 PM by Mark Jeffery

    blcli subshell named pipe failing when in a script



      I am trying to write a script that reads blcli commands from a named pipe.


      I try the following interactively on Network Shell, and it works fine. If I put it in a script, and run that, I get:


      ./simple.nsh~:6: can't open /dev/null: no such file or directory


      Here is simple.nsh:


      rm /tmp/blcli.in

      mkfifo /tmp/blcli.in

      blcli -m subshell </tmp/blcli.in >/tmp/blcli.out &

      echo Server listAllServers >/tmp/blcli.in

      echo Exit >/tmp/blcli.in


      Any thoughts?