From: Luiz Macchi Date: 2008-02-27T23:12:06+09:00 Subject: instance variable into call linux command Hi all, I need to call a Linux command from ruby app to print a text file ! so i卒d like to put a instance variable (@printer_name) into the command ! for example: def imprimir `lpr -P@printer_name /tmp/impressao.txt` end how to do this ? it dont recognize the variable... if i put the name of printer instead it runs thanks any help -- Posted via http://www.ruby-forum.com/.