A command executing apparatus includes an executing unit that executes a
command indicating process contents of a robot; a suspending unit that
suspends execution of the command, when an interrupt command; a
resumption condition generating unit that generates a resumption
condition for resuming a suspending command; an executed contents
generating unit that generates executed contents indicating the process
contents executed until the suspending command is suspended; a suspending
state holding unit that holds the resumption command and the executed
contents in association with the suspending command; a resumption
propriety judging unit that judges whether the suspending command is able
to be resumed, when the resumption command is obtained; and a resuming
unit that indicates the executing unit that the execution of the
suspending command is resumed from a point at which the suspending
command is suspended, when the suspending command is judged to be able to
be resumed.