Asynchronous PipeRead

I have a little program that grabs the keyboard on the root window and I would like to feed a PipeRead different Fvwm commands depending on which keys the user presses. I suspect that this doesn’t work since PipeRead executes synchronously, so would it be possible to achieve something like an asynchronous PipeRead one way or the other?

No. PipeRead is synchronous for a reason. At best you could try farming off processes as shell scripts which exec()d themselves and used FvwmCommand.

– Thomas Adam

Ok, I’ll look into that. Thanks :slight_smile: