The formation of a steady one-dimensional outflow