MCPcopy Create free account
hub / github.com/Telefonica/HomePWN / new_process_function

Function new_process_function

utils/custom_thread.py:36–54  ·  view source on GitHub ↗

Runs a python function and saves it in Task Args: func (func): Function type args (list, optional): List of args of the funcion. Defaults to None. name (str, optional): Name of the process. Defaults to "Unknown". seconds_to_wait (int, optional): Seconds to wa

(func, args=None, name="Unknown", seconds_to_wait=0)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 8

runMethod · 0.90
runMethod · 0.90
runMethod · 0.90
runMethod · 0.90
runMethod · 0.90
runMethod · 0.90
runMethod · 0.90
test_tasksFunction · 0.90

Calls 6

TaskClass · 0.90
print_infoFunction · 0.90
CustomProcessClass · 0.85
add_taskMethod · 0.80
startMethod · 0.45
get_instanceMethod · 0.45

Tested by 1

test_tasksFunction · 0.72