from multiprocessing import Process, Value, Array
from ctypes import c_char_p

def f(a):
    a[:] = ['up', 'down', 'left']
if __name__ == '__main__':
    arr = Array(c_char_p, 3)
p = Process(target=f, args=(arr,))
p.start()
p.join()
print(arr[:])
['up', 'down', 'left']
How to initialize a string array for multiprocessing