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

$EDITOR with parameters is not supported #1

Closed
indeyets opened this issue Mar 28, 2010 · 4 comments
Closed

$EDITOR with parameters is not supported #1

indeyets opened this issue Mar 28, 2010 · 4 comments

Comments

@indeyets
Copy link

I use mac and my $EDITOR is set to 'mate -w' (that's standard cli-based starter ot Textmate.app). pitz dies with exception whenever it tries to start editor. Changing $EDITOR to something without parameters resolves the problem.

@mw44118
Copy link
Owner

mw44118 commented Mar 28, 2010

Hi -- Thanks for the feedback!

I think but I'm not sure that the problem is that 'mate -w' should be executed as ['mate', '-w'](two strings) but it is right now executed as ['mate -w'](one string).

Thanks so much for the feedback! I think I can fix this. I will look at the value of os.environ['EDITOR'] and then convert ['mate -w'] to ['mate', '-w'].

I didn't think anyone else was using pitz!

Do you like it?

@indeyets
Copy link
Author

I like the concept :)
Didn't use it full-scale yet, because this bug breaks my workflow. But looking forward to. Seems like an excellent solution for home-brewed projects

@mw44118
Copy link
Owner

mw44118 commented Mar 28, 2010

OK, I made some changes to the "clepy" package. You can run $ easy_install -U clepy to get the most recent version.

Can you try the new version of clepy, and see if you still get the bug?

@indeyets
Copy link
Author

Yes. That fixes it

This issue was closed.
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

No branches or pull requests

2 participants