os.system('start cmd')
time.sleep(1.5)
keyboard.write('python' + ' ' + program + ' ' + api_id + ' ' + api_hash + ' ' + phone + ' ' + file + ' ' + str(scraped_grp))
keyboard.press_and_release('Enter')
print(f'{plus}{lg} Launched from {phone}')
turn these lines to use subprocess like this is wrong?
cmd = f'python {program} {api_id} {api_hash} {phone} {file} {str(scraped_grp)}'
subprocess.Popen(['cmd', '/c', 'start', 'cmd', '/k', cmd])
print(f'{plus}{lg} Launched from {phone}')