mirror of
				https://github.com/adef17286-sudo/KIJK_dl.git
				synced 2025-11-04 05:14:49 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			18 lines
		
	
	
		
			562 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			562 B
		
	
	
	
		
			Python
		
	
	
	
	
	
import subprocess
 | 
						|
import sys
 | 
						|
 | 
						|
def run_commands():
 | 
						|
    # Run get_vid.py with the provided subcommands
 | 
						|
    if len(sys.argv) > 1:
 | 
						|
        vid_command = ['python', 'get_vid.py'] + sys.argv[1:]
 | 
						|
        vid_output = subprocess.run(vid_command, capture_output=True, text=True)
 | 
						|
        print(vid_output.stdout)
 | 
						|
 | 
						|
    # Run get_lic.py without any subcommands
 | 
						|
    lic_command = ['python', 'get_lic.py']
 | 
						|
    lic_output = subprocess.run(lic_command, capture_output=True, text=True)
 | 
						|
    print(lic_output.stdout)
 | 
						|
 | 
						|
if __name__ == '__main__':
 | 
						|
    run_commands()
 |