diff --git a/ponysay.py b/ponysay.py index 1714e77a..a55fbcaa 100755 --- a/ponysay.py +++ b/ponysay.py @@ -331,7 +331,7 @@ class ponysay(): if linuxvt: print('\033[H\033[2J', end='') - os.system(cmd + (' -W ' + args.wrap if args.wrap is not None else '') + ' -f ' + pony + ' \'' + msg + '\'') + os.system(cmd + (' -W ' + args.wrap if args.wrap is not None else '') + ' -f ' + pony + ' \'' + msg.replace('\'', '\'\\\'\'') + '\'')