Lockfile shell command wrapper