Suppose that $G$ is a topological group and that $H$ is a subgroup of $G$ so that $H$ and $G/H$ are compact. I am trying to show that $G$ must be compact.
The first idea is to use the natural map $f: G \rightarrow G/H$, this is a closed map since $H$ is compact. Thus if $\mathscr{C}$ is a collection of closed subsets of $G$ with finite intersection property (FIP), then $\{f(C): C \in \mathscr{C}\}$ a collection of closed subsets of $G/H$. This collection also has FIP because
$$f(C_1 \cap \ldots \cap C_n) \subseteq f(C_1) \cap \ldots \cap f(C_n)$$
so $\{f(C): C \in \mathscr{C}\}$ has nonempty intersection because $G/H$ is compact. So there exists some coset $gH$ that is contained in every $f(C)$, that is $C \cap gH$ is nonempty. My next idea would be to show that $\{C \cap gH: C \in \mathscr{C}\}$ is a collection of closed sets in $gH$ with FIP. Then this collection, and thus $\mathscr{C}$ would have nonempty intersection.
We know that $C \cap gH$ is closed in $gH$, but I don't know how to show that it has FIP. Right now I think that might not even be true in general, since our choice of $gH$ was arbitrary. How can I choose $gH$ in the intersection $\cap_{C \in \mathscr{C}} f(C)$ so that $\cap_{C \in \mathscr{C}} C \cap gH$ is nonempty? Does this proof idea work?