Hello guys. I made a simple program that works like command prompt. You insert a command, it inserts it into system();
why i do this? because im also adding my own commands. so before it goes into system. it checks first if its one of my newly made commands.
Whats the problem?
Well i was trying out a simple thing:
start notepad.exe
but when i got to:
taskkill /IM notepad.exe
it crashed?!!
So i tryed other things, if i do taskkill for anything EXEPT notepad.exe it works and doesent crash.
WTF is the problem?!!? please help. Tyvm guys.