// IsRunning of the server. returns true if running
IsRunning of the server. returns true if running
// IsRunning of the server . returns true if running
func (as *AssettoServerProcess) IsRunning() bool {
	as.mutex.Lock()
	defer as.mutex.Unlock()
	return as.cmd != nil && as.cmd.Process != nil
}
func ( as * AssettoServerProcess ) IsRunning ( ) bool { as . mutex . Lock ( ) defer as . mutex . Unlock ( ) return as . cmd != nil && as . cmd . Process != nil }
IsRunning of the server.
IsRunning of the server .