mirror of
				https://github.com/clearml/wexpect-venv
				synced 2025-06-26 18:15:52 +00:00 
			
		
		
		
	Changed ls to dir
This commit is contained in:
		
							parent
							
								
									8f2342d4fd
								
							
						
					
					
						commit
						1b7dd177b7
					
				@ -15,8 +15,8 @@ child.expect('>')
 | 
			
		||||
print(child.before, end='')
 | 
			
		||||
print(child.after, end='')
 | 
			
		||||
 | 
			
		||||
# run list directory command
 | 
			
		||||
child.sendline('ls')
 | 
			
		||||
# run dir command to list directory contents
 | 
			
		||||
child.sendline('dir')
 | 
			
		||||
 | 
			
		||||
# Waiting for prompt
 | 
			
		||||
child.expect('>')
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user