Take picture using external command