def readargs(pid):
    """
    This only works only on unixy systems
    """
    args = None
    try:
        with open(f'/proc/{pid}/cmdline', mode='rb') as fd:
            args = fd.read().decode().split('\x00')[:-1]
    except Exception:
        pass
    return args
