requires spawn command