Put the command in a process class
Inject the kernel service to read the cache dir