which works with simple commands like kate. However oo is not starting at all, giving no errors or anything. expect -d doesnt help, no errors are provided.
The expect output is telling me it sets the password and returns normally.
I wonder what I can do to get any errors provided by soffice during startup, or what I might do different here to get this sorted?
I have this in my script:
DEBUG_DIR=/log/rotate_output
DEBUGLOG=${DEBUG_DIR}/rotate.${TIMESTAMP}
SERVER_FILE_LIST="\
wasint0206 /logs/squid_backup
wasint0201 /logs/squid_backup"
/usr/bin/echo "${SERVER_FILE_LIST}" | while read SERVER DIRECTORY
do
cd /log/squid_logs/${SERVER}... (2 Replies)
I'm using expect script, but don't know how to assign an output to a string variable. Any help ?
Thank you for reading!
PS:
In fact i want to get the out put of expect when run grub-md5-crypt to generate MD5 password for GRUB boot loader.
My code:#!/bin/sh
#\
exec expect -f "$0" ${1+"$@"}... (4 Replies)
hi
i am having a c code which gives the output of my password in text format
i.e when i run my c code which which gives the password asfollows====>>>>>>
$./passwdprogram ======>>>>>>abc@123(this is the output)
now i have an expect script to remotely ssh which uses the password set in ... (0 Replies)
Hello,
I have a simple expect script I use to ssh to a workstation. I then pass control over to the user with interact.
This script works fine on my HP and Mac, but on my Linux Desktop, I get a problem where the terminal hangs when ever I execute a command in the interact session that requires a... (0 Replies)
Hello everyone,
I have a small expect script as follows;
#!/usr/bin/expect -f
set force_conservative 0 ;# set to 1 to force conservative mode even if
;# script wasn't run conservatively originally
if {$force_conservative} {
set send_slow {1 .1}
proc send {ignore arg}... (1 Reply)
I want to capture the debug for the below command in output file .
i tried like this but its not working:
sh -xv <scriptname> >> output.log
i want the output in a log file.
Anyone plz help in this (2 Replies)
Hi,
I am using expect to ssh to a remote host and run a program on the remote machine which has a variable runtime. I need to wait until it finishes so I can grab the output file of this program. I am trying to use the output of grep to know when the process finishes. I am trying to capture... (0 Replies)
I know something simple is missing here, "log_user 1" is set . . . after this utility opens ${InFile} (handle? for IntInFile) it needs to look for something to appear in the file ${IntInFile} and then send it to the spawned process. Then I am locking the file ${IntInFile} and clearing it out -... (0 Replies)