Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unknown option -0 for byzanz-record #30

Open
aetherical opened this issue Mar 10, 2015 · 5 comments · May be fixed by #33
Open

Unknown option -0 for byzanz-record #30

aetherical opened this issue Mar 10, 2015 · 5 comments · May be fixed by #33

Comments

@aetherical
Copy link

It looks as though something is adding extra quotes to escape, but doing it badly. Running the newcast script with -x, I get the following (right before it blows up):

+ ENDCMD='--exec "bash -c '\''while kill -0 25811; do :; done'\''" '
+ echo ENDCMD= --exec '"bash' -c ''\''while' kill -0 '25811;' do ':;' 'done'\''"'
ENDCMD= --exec "bash -c 'while kill -0 25811; do :; done'"
+ byzanz-record -x 279 -y 230 -w 808 -h 538 --exec '"bash' -c ''\''while' kill -0 '25811;' do ':;' 'done'\''"' out.gif

Notice the extra quotes in the byzanz-record commandline; this is what's causing me grief, I believe.

Any ideas? Running ubuntu 14.04

Thanks!

@tuminoid
Copy link

Yup, in 14.04 invoking newcast says:

~$ newcast
~$ Wrong option: Unknown option -0
usage: byzanz-record [OPTIONS] filename
       byzanz-record --help

@aviau
Copy link

aviau commented May 15, 2015

Same issue here!

@NLKNguyen
Copy link

I got the same problem. This one still works though:

$ mkcast Terminal 10 -o out.gif

@qinshulei
Copy link

Same issue

@dylanaraps
Copy link

Also getting this.

pSub added a commit to NixOS/nixpkgs that referenced this issue Nov 11, 2015
newcast does not work due to
tckmn/mkcast#30

closes #6333
@nineKnight nineKnight linked a pull request Aug 28, 2019 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants