Yes, just as Pavel says - it's not so simple. In general, you cannot just "terminate processes bound to infected executables". The virus may be running on other processes' memory area (either it infected their executable file, or it hooked their process during the runtime) - so with "generic" methods you could easily kill important system processes (and crash the system, of course).
Or, the virus may be loaded as a shared DLL into all the running processes... so there actually is "no" virus process to terminate.