refs #1872 always kill browser before exiting
							parent
							
								
									565e3d4091
								
							
						
					
					
						commit
						6cbe28272f
					
				| 
						 | 
					@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
 | 
				
			||||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
 | 
					The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
 | 
				
			||||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
 | 
					and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					## [0.3.3] - 2025-04-09
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					### Fixed
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					- Kill coproc'ed browser in all execution branches in Configurar.py
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## [0.3.2] - 2025-04-07
 | 
					## [0.3.2] - 2025-04-07
 | 
				
			||||||
 | 
					
 | 
				
			||||||
### Fixed
 | 
					### Fixed
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -75,8 +75,11 @@ for item in tbprm:
 | 
				
			||||||
    elif 'tch' == k: tch = v
 | 
					    elif 'tch' == k: tch = v
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Error si no se define el parámetro de disco (dis).
 | 
					# Error si no se define el parámetro de disco (dis).
 | 
				
			||||||
if dis is None: sys.exit (ogGlobals.OG_ERR_FORMAT)
 | 
					if dis is None:
 | 
				
			||||||
if tch is None: tch = '0'
 | 
					    coproc.kill()
 | 
				
			||||||
 | 
					    sys.exit (ogGlobals.OG_ERR_FORMAT)
 | 
				
			||||||
 | 
					if tch is None:
 | 
				
			||||||
 | 
					    tch = '0'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Toma valores de distribución de particiones, separados por "%".
 | 
					# Toma valores de distribución de particiones, separados por "%".
 | 
				
			||||||
tbp = []  # Valores de configuración (parámetros para ogCreatePartitions)
 | 
					tbp = []  # Valores de configuración (parámetros para ogCreatePartitions)
 | 
				
			||||||
| 
						 | 
					@ -111,6 +114,7 @@ for item in tbprm:
 | 
				
			||||||
    if tam is None: missing_params.append ('tam')
 | 
					    if tam is None: missing_params.append ('tam')
 | 
				
			||||||
    if missing_params:
 | 
					    if missing_params:
 | 
				
			||||||
        print (f'partition data ({item}) missing required parameters ({' '.join (missing_params)})')
 | 
					        print (f'partition data ({item}) missing required parameters ({' '.join (missing_params)})')
 | 
				
			||||||
 | 
					        coproc.kill()
 | 
				
			||||||
        sys.exit (1)
 | 
					        sys.exit (1)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        # Componer datos de particionado.
 | 
					        # Componer datos de particionado.
 | 
				
			||||||
| 
						 | 
					@ -150,6 +154,7 @@ if 'CACHE' in sparam:
 | 
				
			||||||
    rc = SystemLib.ogExecAndLog ('command', CacheLib.initCache, tch)
 | 
					    rc = SystemLib.ogExecAndLog ('command', CacheLib.initCache, tch)
 | 
				
			||||||
    if rc:
 | 
					    if rc:
 | 
				
			||||||
        SystemLib.ogRaiseError (['log', 'session'], ogGlobals.OG_ERR_CACHE, f'initCache failed')
 | 
					        SystemLib.ogRaiseError (['log', 'session'], ogGlobals.OG_ERR_CACHE, f'initCache failed')
 | 
				
			||||||
 | 
					        coproc.kill()
 | 
				
			||||||
        sys.exit (1)
 | 
					        sys.exit (1)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Definir particionado.
 | 
					# Definir particionado.
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue