views:

90

answers:

1

When I do the following:

`sshfs [email protected] /tmp/dir1/`

in a irb console, the console freezes.

If I use something like system("sshfs [email protected] /tmp/dir1/") it works, but I need to use backticks because the system call is in a method used many times, and some of them need the return from the shell.

Any tip?

+1  A: 

I think @host might be getting interpolated.

Tim