[torqueusers] Qsub interactively (-I), Expect and standard output problem

Garrick Staples garrick at usc.edu
Tue Jul 1 14:58:41 MDT 2008


On Tue, Jul 01, 2008 at 05:31:32PM +0200, Charles Vejnar alleged:
> Thank for the reply.
> 
> Does it mean that in the case of qsub -I, we can't just print something from 
> $expect_out ? Can't expect just work silently (and print only in the case we 
> are using send_user command) ?

It means you need to wait for your shell to start before sending it commands.

"expect" the shell prompt before "send"ing the commands.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.supercluster.org/pipermail/torqueusers/attachments/20080701/c0076cc8/attachment.bin


More information about the torqueusers mailing list