From: Daniel Mantilla Date: 2009-03-05T23:35:41+09:00 Subject: Re: Getting the original file path on argument Thanks guys, I think I didn't explain myself very clear. The script runs fine, the problem is with the command line parameter. For example, if I try to process my_file on /home/dan : cd /home/dan run_process my_file The script tries to find my_file on some_path/bin instead of /home/dan. I have to provide a full path for the script to use my_file: run_process /home/dan/my_file I also tried with run_process ./my_file Same results. What do I have to do on my script for "run_process my_file" to run fine? I hope things are more clear now. Thanks. -- Posted via http://www.ruby-forum.com/.