exec spawns 2 processes

asked 2015-06-08 04:05:51 +0000

parras gravatar image

i use bindsym and exec to create a number of keyboard shortcuts like $mod+Enter for i3-sensible-terminal but I noticed that a lot of applications and scripts that I exec spawn two seemingly identical processes. It doesn't happen for every application but it happens for any terminal i use as well as any custom scripts i write. Am I doing something wrong?

edit retag flag offensive close merge delete

Comments

A bit more information would be helpful. Could you please add the relevant parts of your configuration? And do the affected applications actually run twice (e.g. are two terminals being opened) or do you just see it in the output of `ps` or similar tools? In which case that output would help, too.

Adaephon gravatar imageAdaephon ( 2015-06-08 13:01:06 +0000 )edit

the applications don't actually run twice, they just appear twice in htop and ps etc.

parras gravatar imageparras ( 2015-11-26 22:34:42 +0000 )edit