Displaying 1 result from an estimated 1 matches for "stop_command".
2006 Aug 21
3
strange problem with system call
...rname = args
blog_name = username + "_blog"
# creation part works flawlessly so lets skip that.
# there is a problem while stopping it.
if (Dir.chdir(DIR)) == 0
current_dir = `pwd`
@logger.debug("Current directory is #{current_dir}")
stop_command = "typo stop "+ blog_name
debug_stuff =
`#{stop_command}`
#line no 33
@logger.debug("### #{debug_stuff}")
else
@logger.debug("### Error changing directory")
end
end
Now let me assure that, args has correct username, because starting o...