Execute a command creating a file located to the workspace.
The file will be captured.