def cleanup_files_on_ev3():
list = get_base_ev3dev_cmd() + ['<STR_LIT>']<EOL>env = os.environ.copy()<EOL>env["<STR_LIT>"] = THONNY_USER_BASE<EOL>proc = subprocess.Popen(list, stdout=subprocess.PIPE, stderr=subprocess.STDOUT,<EOL>universal_newlines=True, env=env)<EOL>dlg = MySubprocessDialog(get_workbench(), proc, "<STR_LIT>", autoclose=False)<EOL>dlg.wait_window()<EOL>
cleanup files in homedir on EV3.