Menu

compound command lines not supported?

2000-12-21
2000-12-22
  • Ralph Gonzalez

    Ralph Gonzalez - 2000-12-21

    Hi, unless I'm missing something, does Gnu Queue require that
    the command be a simple single-command statement?

    EG, with rsh you can say:
        rsh polaris "sleep 5; date"

    But you can't do the same with qsh or queue. That seems like
    a major failing, at least for my purposes. I guess it's simple to
    fix?

    BTW I got it to work on Solaris, but only when queued is in
    debug (-D) mode...

    Thanks for any comments,
    Ralph

     
    • Ralph Gonzalez

      Ralph Gonzalez - 2000-12-22

      Oops, answered my own question. For compound statements:

      queue -i -w -n -- /bin/sh -c "sleep 5; date"

      ie, wrap a shell around the commands.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.