title: why .lck file is created when performing remote command using expect4j？
body: <p>I'm using Expect4j to perform remote command to a host. The command is </p>
  
  <pre><code>/usr/openv/volmgr/bin/tpconfig -add  -application_server mongodb1-27017 -application_type mongodb -host_user_id root -host_password rootroot -host_RSA_key 2acff30394f95f9576e9b4c82c1aa6efff0a648b0df246a4a3aefb0c263b7268 -requiredport 27017 -application_server_conf /usr/openv/var/global/mongodb1:27017.txt
  </code></pre>
  
  <p>In short, the command is </p>
  
  <pre><code>tpconifg -someoperate fileName
  </code></pre>
  
  <p>When I send the command via Expect4j it creates a <code>.lck</code> file. Why? And how can I avoid it?</p>
  
  <p><a href="https://i.stack.imgur.com/b7d15.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/b7d15.jpg" alt="lck file created"></a></p>