add possibility to specify command for ksGetInput