mirror of
				https://gitlab.com/freepascal.org/fpc/source.git
				synced 2025-10-31 01:51:49 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			13 lines
		
	
	
		
			280 B
		
	
	
	
		
			ObjectPascal
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			280 B
		
	
	
	
		
			ObjectPascal
		
	
	
	
	
	
| Program Example11;
 | |
| 
 | |
| { Program to demonstrate the Execle function. }
 | |
| 
 | |
| Uses linux, strings;
 | |
| 
 | |
| begin
 | |
|   { Execute 'ls -l', with current environment. }
 | |
|   { 'ls' is NOT looked for in PATH environment variable.}
 | |
|   { envp is defined in the system unit.}
 | |
|   Execle ('/bin/ls -l',envp);
 | |
| end.
 | 
