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

overridekeys ineffective when run in subshell #39

Closed
GoogleCodeExporter opened this issue Jul 16, 2015 · 1 comment
Closed

overridekeys ineffective when run in subshell #39

GoogleCodeExporter opened this issue Jul 16, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Try to remove a keybinding in rc.wmii.local:/^fn Action-overridekeys
2. Rerun rc.wmii-local

What is the expected output? What do you see instead?

 Expect the removed keybinding to be disabled, instead it still works.

What version of the product are you using (wmii -v)? On what operating system?

wmii-20080520, ©2007 Kris Maglione

Please provide any additional information below.

 wmii.rc:
fn Action {
       cmd=$1 action=Action-$cmd { shift
               if(wi_fn-p $action)
                       $action $*
               if not
                       wi_runcmd `{wi_script $cmd} $*
       } &
}

 The ampersand is the problem of course, overridekeys has no chance to
modify rc.wmii's environment when run in a subshell.

-sqweek

Original issue reported on code.google.com by sqw...@gmail.com on 28 May 2008 at 11:17

@GoogleCodeExporter
Copy link
Author

I distinctly remember fixing that.

2337:33b66fd0ebe0

Original comment by maglion...@gmail.com on 31 May 2008 at 10:29

  • Changed state: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant