Locked · Module 4, lesson 5 of 8

The run tool: commands, exit codes, time and output limits

Write `run_command` that runs only allowed commands as a list of arguments, stops at a time limit, cuts long output with a note, and returns the exit code with the output.

This lesson comes with the course. Enrolment is not open yet, and no payment is taken now.

Tell me when the course opens

The 7 lessons of module 1 are free: see the lessons of the course.

The edit tool: exact replacements, not whole-file rewritesNext: Tool results and errors the model can recover from