mirror of
				https://github.com/RetroDECK/ES-DE.git
				synced 2025-04-10 19:15:13 +00:00 
			
		
		
		
	Minor change to a error log output in PlatformUtil
This commit is contained in:
		
							parent
							
								
									9ced3a88a8
								
							
						
					
					
						commit
						e7e3db7f6d
					
				|  | @ -101,13 +101,12 @@ namespace Utils | |||
|                 command = "cd " + startDirectory + " && " + command; | ||||
| 
 | ||||
|             if (!(commandPipe = reinterpret_cast<FILE*>(popen(command.c_str(), "r")))) { | ||||
|                 LOG(LogError) << "Couldn't open pipe to command."; | ||||
|                 LOG(LogError) << "Couldn't open pipe to command"; | ||||
|                 return -1; | ||||
|             } | ||||
| 
 | ||||
|             while (fgets(buffer.data(), buffer.size(), commandPipe) != nullptr) { | ||||
|             while (fgets(buffer.data(), buffer.size(), commandPipe) != nullptr) | ||||
|                 commandOutput += buffer.data(); | ||||
|             } | ||||
| 
 | ||||
|             returnValue = pclose(commandPipe); | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue
	
	 Leon Styhre
						Leon Styhre