-
-
Save anonymous/cf8b26a362b135ab754a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[1] pry(main)> cmd = ["tiff2pdf"] | |
=> ["tiff2pdf"] | |
[2] pry(main)> cmd << "-p" << "A4" | |
=> ["tiff2pdf", "-p", "A4"] | |
[3] pry(main)> cmd << "-c" << "FFM" | |
=> ["tiff2pdf", "-p", "A4", "-c", "FFM"] | |
[4] pry(main)> `#{cmd}` | |
sh: [tiff2pdf,: command not found | |
=> "" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment