Problem of correct program name definition (application run with cmd and bash) has been solved.