Last active
July 1, 2016 01:26
-
-
Save amcooper/c72f2ff1a7e5362a0a45f5e65c8b484f to your computer and use it in GitHub Desktop.
Basic Ruby code for launching a command-line MP3 player and playing a file
This file contains hidden or 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
# Basic Ruby code for launching a command-line MP3 player and playing a file | |
command = "afplay fatal_wedding.mp3" | |
value = `#{command}` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment