<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def regularrun( shell, prompt_template="default", aliases=None, envvars=None, extra_commands=None, speed=1, test_mode=False, commentecho=False, ):
 """Allow user to run their own live commands until CTRL-Z is pressed again. """

    loop_again = True
    command_string = regulartype(prompt_template)
    if command_string == TAB:
        loop_again = False
        return loop_again
    run_command(
        command_string,
        shell,
        aliases=aliases,
        envvars=envvars,
        extra_commands=extra_commands,
        test_mode=test_mode,
    )
    return loop_again