Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[linux] call an interactive shell command

 [1/4] from: alberto:origen:mx at: 20-Dec-2008 23:18

Hi everybody I'm having some troubles with the call function in linux calling an interactive command like call/wait ["scp" %afile "user-server:dir/"] when the command "scp" ask the password something go wrong=2E After typing the password, "scp" warns a wrong password and ask to type it again, even when I'm pretty sure the password is ok=2E After 3 attempts the command stops as usual, but the control does not returns to rebol=2E I know how to make a pair of public/private keys to void typing password with scp, but currently is not an option because of the ssh server configuration=2E any ideas=3F cheers - Alberto -------------------------------------------------------------------- mail2web - Check your email from the web at http://link=2Email2web=2Ecom/mail2web

 [2/4] from: btiffin::rogers::com at: 21-Dec-2008 5:08

Try changing /wait to /console. Cheers, Brian On December 20, 2008 11:18:17 pm wrote:

 [3/4] from: santilli::gabriele::gmail::com at: 21-Dec-2008 12:11

On Sun, Dec 21, 2008 at 11:08 AM, Brian Tiffin <> wrote:
> Try changing /wait to /console.
Also try starting REBOL with the -w flag. HTH, Gabriele.

 [4/4] from: alberto::origen::com::mx at: 26-Dec-2008 11:38

Re: [linux] call an interactive shell command SOLVED

Thank you Gabriele and Brian Starting rebol with the -w flag does the trick Brian is correct: according to the manual (http://www=2Erebol=2Ecom/docs/shell=2Ehtml#section-2=2E2) the refinement /console must do the work, but at least in my ubuntu 8=2E04 isn=B4t working So I'm still using the /wait refinement cheers
> Try changing /wait to /console=2E
Also try starting REBOL with the -w flag=2E HTH, Gabriele=2E -- -------------------------------------------------------------------- mail2web LIVE =96 Free email based on Microsoft=AE Exchange technology - http://link=2Email2web=2Ecom/LIVE